@import url('https://fonts.googleapis.com/css?family=Roboto:100,100i,300,300i,400,400i,500,500i,700,700i&display=swap');

body {
    font-family: "Roboto", 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    margin-top: 60px;
    padding: 0px;
    background-color: #f5f8fb;
}

.container {
    max-width: 90%;
    margin: 0 auto;
    /* background-color: white; */
    padding: 20px;
    /* border-radius: 10px; */
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

.traq-logo {
    max-width: 110px;
}

a {
    color:#0099ff;
    text-decoration: none;
}

a:hover {
    color: #333;
}

h1 {
    text-align: center;
    color: #0099ff;
    font-size: 1.25em;
    font-weight: 500;
    margin-bottom: 15px;
}

hr {
    border-style: none;
    height: 1px;
    background-color: #e2e2e2;
    margin: 30px 0;
}

.mr-20 {
    margin-right: 20px;
}

.mb-8 {
    margin-bottom: 8px !important;
}

.ml-20 {
    margin-left: 20px;
}

.mt-20 {
    margin-top: 20px;
}

.pl-6 {
    padding-left: 6px;
}

.pl-12 {
    padding-left: 12px;
}

.call-description {
    font-size: .9em;
    color: #666;
    width: fit-content;
    margin: 10px auto 20px auto;
    text-align: center;
}

.call-description p {
    margin-top: 10px;
}

.main-nav-bar {
    background-color: #fff;
    border-bottom: solid 1px #e2e2e2;
    padding: 8px;
    text-align: center;
    position: fixed;
    top: 0;
    width: 100%;
}

.speaker-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
}

.speaker-container div {
    margin: 0 20px;
}

.img-avatar {
    width: 100%;
    min-width: 200px;
    max-width: 600px;
}

.img-avatar-sm {
    width: 50%;
    margin: 0 auto;
    margin-bottom: 10px;
    border: solid 1px #333;
}

.back-btn {
    position: absolute;
    top: 7px;
    left: 20px;
    width: fit-content;
}

.back-btn a {
    color: #0099ff;
    text-decoration: none;
}

.back-btn a:hover {
    color: #333
}

.flex-vert-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-horz-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.divider-pipe {
    width: 1px;
    background-color: #e2e2e2;
    margin: 0 15px;
}

.status-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.status,
.speaking-status {
    padding: 6px;
    /* border-radius: 20px; */
    font-size: 14px;
}

.status {
    background-color: #ff4444;
    color: white;
    display: none;
}

.status.connected {
    background-color: #00C851;
}

.speaking-status {
    background-color: transparent;
}

.speaking-status.speaking {
    background-color: #00C851;
    color: white;
}

.controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}

.button {
    padding: 10px 60px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.5em;
    transition: background-color 0.3s;
}

.button:disabled {
    /* opacity: 0.5; */
    /* cursor: not-allowed; */
    display: none;
}

#startButton {
    background-color: #00C851;
    color: white;
}

#endButton {
    background-color: #ff4444;
    color: white;
}

.form-box {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
    background-color: #fff;
    color: #333;
    box-sizing: border-box;
}

.form-box::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    font-weight: 300 !important;
    color: #adadad !important;
}

.form-box::-moz-placeholder {
    /* Firefox 19+ */
    font-weight: 300 !important;
    font-weight: 300 !important;
}

.form-box:-ms-input-placeholder {
    /* IE 10+ */
    font-weight: 300 !important;
    font-weight: 500 !important;
}

.form-box:-moz-placeholder {
    /* Firefox 18- */
    font-weight: 300 !important;
    font-weight: 300 !important;
}


.form-box:focus {
    border-color: #0099ff;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.15);
}

.search-textbox {
    padding: 10px 20px;
    font-size: 1.25em;
}


/* Reset and general styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* Category dropdown styles */
.category-filter {
    margin-bottom: 30px;
}

.category-label {
    font-weight: 500;
    margin-right: 10px;
    color: #333;
}

.category-select {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
    min-width: 250px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

/* Card grid layout */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .card-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .card-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Card styles */
.card {
    background-color: white;
    border-radius: 10px;
    border: solid 1px transparent;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {

    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    border: solid 1px #0099ff;
}


.card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    color: #0096ff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.card-description {
    color: #333;
    font-size: 14px;
    text-align: center;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 15px;
}

.card-footer {
    padding: 15px 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.card-footer .microphone-icon {
    margin-right: 6px;
    opacity: 0.7;
}

.card-footer .completed {
    margin-left: auto;
    font-size: 13px;
    color: #777;
}

/* Card height is managed by the grid container */