@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css");

header, footer, button, h1, h2, h3, h4, h5, p, a, .promptList, #alreadyDoneBox, #prompt, #prepareAndRecord, #visualizer, .card {
    -webkit-user-select: none; /* Safari */        
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* IE10+/Edge */
user-select: none; /* Standard */
} 
.card-text, #transcription {
    -webkit-user-select: all; /* Safari */        
-moz-user-select: all; /* Firefox */
-ms-user-select: all; /* IE10+/Edge */
user-select: all; /* Standard */
}


/* this facilitates the animated icon */
@-webkit-keyframes opacity_change {
    from {
        opacity: 0.5;
    }

    to {
        opacity: 1.0;
    }
}

@-moz-keyframes opacity_change {
    from {
        opacity: 0.5;
    }

    to {
        opacity: 1.0;
    }
}

@-ms-keyframes opacity_change {
    from {
        opacity: 0.5;
    }

    to {
        opacity: 1.0;
    }
}

@-o-keyframes opacity_change {
    from {
        opacity: 0.5;
    }

    to {
        opacity: 1.0;
    }
}

@keyframes opacity_change {
    from {
        opacity: 0.5;
    }

    to {
        opacity: 1.0;
        ;
    }
}
.bg-byu-navy {
    background-color: #002E5D;
}

.oscillate {
    animation-name: opacity_change;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

/* These two are for the volume meter */
div#visualizer {
    border-radius: 5px;
    background-color: #efefef;
}
div.volume {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 20px;
    width: 300px;
    margin: 1em 0em;
}

div.volume .volbox {
    border: 1px solid lightgray;
    height: 20px;
    width: 20px;
    /* border-radius: 5px; */
}


.row {
    margin: 1em;
    /* outline: 1px red solid; */
}

#timeOrRecord {
    width: 64px;
}

/* Teacher view styles */

.action-item {
    border: 0px;
}

.prompt-title {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: bold;

    padding: .375rem .75rem  .375rem 1rem;
}

.toolbar-button {
    padding: .375rem .375rem;
    border-radius: 0;
}
audio { width: 100%; }


#transcriptionBox {
    padding: .5em 1em;
    height: 200px;
}

#response {
    float: none;
}

/* Dashboard polish */

.dashboard-shell {
    max-width: 1040px;
}

.dashboard-title,
.section-heading h1,
.section-heading h2 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.25;
}

.section-kicker {
    margin: 0 0 .2rem;
    color: #5f6f85;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.dashboard-card {
    padding: 1rem;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 46, 93, .08);
}

.section-heading {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .75rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.prompt-toggles {
    display: grid;
    gap: .75rem;
    align-content: start;
    padding-top: 2rem;
}

.save-status:empty {
    display: none;
}

.empty-state,
.transcript-empty {
    padding: 1rem;
    border: 1px dashed #c9d3df;
    border-radius: 8px;
    color: #5f6f85;
    background: #f8fafc;
}

.response-card {
    margin-top: 1rem;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

.response-card-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .75rem;
    align-items: flex-start;
    padding: .75rem 1rem;
    border-bottom: 1px solid #e6ebf2;
    background: #f8fafc;
}

.response-card-header h3 {
    margin: 0;
    font-size: 1rem;
}

.response-card-header p,
.prompt-meta {
    margin: .2rem 0 0;
    color: #5f6f85;
    font-size: .85rem;
}

.response-card audio {
    margin-bottom: 1rem;
}

.prompt-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    align-items: center;
}

.transcript-block {
    padding: 1rem;
    border: 1px solid #e1e7ef;
    border-radius: 8px;
    background: #fbfcfe;
    white-space: normal;
}

.prompt-card {
    border: 1px solid #d8dee8;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 46, 93, .06);
}

.prompt-toolbar {
    border-bottom: 1px solid #e6ebf2;
    background: #f8fafc;
}

@media all and (max-width: 700px) {
    .section-heading,
    .response-card-header {
        display: block;
    }

    .section-heading .btn,
    .response-card-header .btn {
        margin-top: .5rem;
    }

    .prompt-toggles {
        padding-top: .5rem;
    }
}
