@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Mono&display=swap');

* {
    font-family: 'Open Sans', sans-serif;
}

body {
    background-color: #17333F;
    color: #FAFCF0;
    padding: 15px;
}

button {
    width: 114px;
    height: 50px;
    background: #008D9D;
    border: none;
    border-radius: 4px;
    position: relative;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    text-indent: 0;
    margin: 7px 14px 7px 0px;
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.3);
    color: #FAFCF0;
    transition: background-color 0.2s ease;
}

button:hover {
    background: #009eaf;
}

button:active {
    box-shadow: 0px 0px 0px 0px #000000;
    top: 1px;
}

button:disabled {
    opacity: 0.5;
}

button.number {
    width: 50px;
    background: #008D9D;
}

button.number:hover {
    background: #009eaf;
}

span {
    font-size: 28px;
    line-height: 34px;
    vertical-align: middle;
    margin-top: 6px;
    margin-bottom: 6px;
    display: inline-block;
}

.small {
    font-size: 15px;
    line-height: 16px;
    margin-top: 8px;
    color: rgba(250, 252, 240, 0.8);
}

ul {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 20px;
    color: #FAFCF0;
}

.username {
    width: 170px;
    text-align: left;
}

.vote {
    width: 50px;
    text-align: center;
    font-weight: 600;
    font-family: 'DM Mono', monospace;
    background-color: rgba(237, 173, 93, 0.2);
    border-radius: 4px;
    padding: 0 5px;
}

.averageLine {
    font-weight: 600;
    color: #FAFCF0;
}

.averageLine + .vote {
    background-color: transparent;
    color: #EDAD5D;
    font-size: 32px;
}

.hiddenVote {
    width: 50px;
    text-align: center;
    background-color: rgba(0, 141, 157, 0.2);
    border-radius: 4px;
    padding: 0 5px;
}

.hr {
    height: 1px;
    width: 250px;
    background: linear-gradient(90deg, #EDAD5D, #B65F7F);
    transform: translateX(-10px);
    margin-top: 5px;
    margin-bottom: 5px;
}

.apply-shake {
    animation: animationFrames ease-in-out 0.75s;
    animation-iteration-count: 1;
    transform-origin: 50% 50%;
    -webkit-animation: animationFrames ease-in-out 0.75s;
    -webkit-animation-iteration-count: 1;
    -webkit-transform-origin: 50% 50%;
    -moz-animation: animationFrames ease-in-out 0.75s;
    -moz-animation-iteration-count: 1;
    -moz-transform-origin: 50% 50%;
}

/* New styles for the updated interface */
.intent-selector {
    margin: 20px 0;
    font-size: 18px;
}

.intent-selector select {
    font-size: 18px;
    padding: 5px 10px;
    border-radius: 4px;
    margin-left: 10px;
    background-color: #008D9D;
    color: #FAFCF0;
    border: none;
}

.form-section {
    margin: 20px 0;
    padding: 20px;
    background-color: rgba(250, 252, 240, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(237, 173, 93, 0.2);
}

.point-scale-selector {
    margin: 15px 0;
}

.point-scale-selector select {
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 4px;
    border: none;
    background-color: #008D9D;
    color: #FAFCF0;
}

h1 {
    margin-top: 0;
    font-size: 40px;
    color: #FAFCF0;
    margin-bottom: 0px;
}

h2 {
    margin-top: 0;
    font-size: 20px;
    color: #FAFCF0;
}

@keyframes animationFrames{
    0% {
        transform:  rotate(0deg) scaleX(1.00) scaleY(1.00) ;
    }
    3% {
        transform:  rotate(-7deg) scaleX(1.00) scaleY(1.00) ;
    }
    10% {
        transform:  rotate(-36deg) scaleX(1.05) scaleY(1.05) ;
    }
    30% {
        transform:  rotate(36deg) scaleX(1.37) scaleY(1.37) ;
    }
    40% {
        transform:  rotate(3deg) scaleX(1.48) scaleY(1.48) ;
    }
    46% {
        transform:  rotate(-28deg) scaleX(1.50) scaleY(1.50) ;
    }
    51% {
        transform:  rotate(-36deg) scaleX(1.49) scaleY(1.49) ;
    }
    70% {
        transform:  rotate(36deg) scaleX(1.21) scaleY(1.21) ;
    }
    90% {
        transform:  rotate(0deg) scaleX(1.00) scaleY(1.00) ;
    }
    100% {
        transform:  rotate(0deg) scaleX(1.00) scaleY(1.00) ;
    }
}

@-moz-keyframes animationFrames{
    0% {
        -moz-transform:  rotate(0deg) scaleX(1.00) scaleY(1.00) ;
    }
    3% {
        -moz-transform:  rotate(-7deg) scaleX(1.00) scaleY(1.00) ;
    }
    10% {
        -moz-transform:  rotate(-36deg) scaleX(1.05) scaleY(1.05) ;
    }
    30% {
        -moz-transform:  rotate(36deg) scaleX(1.37) scaleY(1.37) ;
    }
    40% {
        -moz-transform:  rotate(3deg) scaleX(1.48) scaleY(1.48) ;
    }
    46% {
        -moz-transform:  rotate(-28deg) scaleX(1.50) scaleY(1.50) ;
    }
    51% {
        -moz-transform:  rotate(-36deg) scaleX(1.49) scaleY(1.49) ;
    }
    70% {
        -moz-transform:  rotate(36deg) scaleX(1.21) scaleY(1.21) ;
    }
    90% {
        -moz-transform:  rotate(0deg) scaleX(1.00) scaleY(1.00) ;
    }
    100% {
        -moz-transform:  rotate(0deg) scaleX(1.00) scaleY(1.00) ;
    }
}

@-webkit-keyframes animationFrames {
    0% {
        -webkit-transform:  rotate(0deg) scaleX(1.00) scaleY(1.00) ;
    }
    3% {
        -webkit-transform:  rotate(-7deg) scaleX(1.00) scaleY(1.00) ;
    }
    10% {
        -webkit-transform:  rotate(-36deg) scaleX(1.05) scaleY(1.05) ;
    }
    30% {
        -webkit-transform:  rotate(36deg) scaleX(1.37) scaleY(1.37) ;
    }
    40% {
        -webkit-transform:  rotate(3deg) scaleX(1.48) scaleY(1.48) ;
    }
    46% {
        -webkit-transform:  rotate(-28deg) scaleX(1.50) scaleY(1.50) ;
    }
    51% {
        -webkit-transform:  rotate(-36deg) scaleX(1.49) scaleY(1.49) ;
    }
    70% {
        -webkit-transform:  rotate(36deg) scaleX(1.21) scaleY(1.21) ;
    }
    90% {
        -webkit-transform:  rotate(0deg) scaleX(1.00) scaleY(1.00) ;
    }
    100% {
        -webkit-transform:  rotate(0deg) scaleX(1.00) scaleY(1.00) ;
    }
}

input {
    background-color: rgba(250, 252, 240, 0.9);
    border-radius: 5px;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 1px 3px 0px inset;
    box-sizing: border-box;
    color: #17333F;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 50px;
    margin-bottom: 8px;
    margin-right: 14px;
    outline: none;
    padding: 0px 20px;
    transition: all 0.4s ease;
    width: 260px;
    border: 1px solid transparent;
}

input:focus {
    box-shadow: 0 0 0 2px rgba(0, 141, 157, 0.5);
    border: 1px solid rgba(0, 141, 157, 0.5);
    outline: none;
}

input[maxlength] {
    position: relative;
}

input[maxlength="10"]:focus {
    border: 1px solid rgba(0, 141, 157, 0.5);
    box-shadow: 0 0 0 2px rgba(0, 141, 157, 0.5);
}

.char-limit-warning {
    color: #B65F7F;
    font-size: 12px;
    margin-top: -5px;
    margin-bottom: 10px;
    display: block;
}

.button-row {
    display: block;
    width: 100%;
    margin-top: 15px;
    clear: both;
}

.button-row button {
    margin-top: 5px;
}

/* Session ID field styling */
input[placeholder="Session ID (XXX-XXX)"] {
    letter-spacing: 1px;
}

/* Add styles for the copyright footer */
.copyright-footer {
    margin-top: 40px;
    font-size: 14px;
    color: rgba(250, 252, 240, 0.6);
    text-align: center;
}

.copyright-footer a {
    color: #EDAD5D;
    text-decoration: none;
    transition: color 0.2s ease;
}

.copyright-footer a:hover {
    color: #B65F7F;
    text-decoration: underline;
}