* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


::-ms-reveal {
    /* prevent ms edge to show an eye button inside uinput type=password */
    display: none;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(0deg, #11bbaa, #2277E6);
    height: 100vh;

}

#root,
.full-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /*  justify-content: center;
    align-items: center; 
    padding: 20px;
    */
    position: relative;
}

.header-container-X {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
}

header {
    max-width: 640px;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 25px 50px #00339980;
    border-radius: 10px;
    padding: 24px 32px 20px;
    margin: 0 auto;
}

footer {
    max-width: 640px;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 25px 50px #00339980;
    border-radius: 10px;
    padding: 24px 32px 20px;
    margin: 0 auto;
}



@media (max-height: 660px) {
    header {
        padding: 12px 32px 8px;
    }
}

.avatar {
    background: white;
    border-radius: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/*
.container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 40px;
    max-width: 500px;
    width: 100%;
}
*/
.container {
    padding: 32px 64px;
    box-sizing: border-box;
    width: 640px;
    min-height: 480px;
    border-radius: 10px;
    box-shadow: 0 25px 50px 0 rgba(0, 51, 153, 0.5);
}

@media (max-height: 660px) {
    .container {
        padding: 8px 64px;
        min-height: 446px;
    }
}

#password-switch {
    color: #333;
    margin-left: -36px;
    padding-top: 5px;
    cursor: pointer;
}

h2 {
    color: white;
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 64px;
}

@media (max-height: 660px) {
    h2 {
        font-size: 20px;
        margin-top: 10px;
        margin-bottom: 42px;
    }
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

button {
    padding: 14px;
    background: linear-gradient(0deg, #1ba, #2277e6);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

@media (max-height: 660px) {
    button {
        padding: 10px;
    }
}

button.selected {
    background: linear-gradient(0deg, #2277e6, #2277e6);
}


input[type="text"],
input[type="number"],
input[type="password"],
input[type="email"],
select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

@media (max-height: 660px) {

    input[type="text"],
    input[type="number"],
    input[type="password"],
    input[type="email"],
    select {
        padding: 8px 15px;
        font-size: 14px;
    }
}

input[type="text"]:focus,
input[type="number"]:focus,
select:focus {
    outline: none;
    border-color: #667eea;
}

.row {
    display: flex;
    gap: 15px;
}

.row .form-group {
    flex: 1;
}

.card-icon {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.card-icon img {
    width: 50px;
    height: auto;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.card-icon img:hover {
    opacity: 1;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.security-note {
    margin-top: 20px;
    padding: 15px;
    background: #f0f7ff;
    border-left: 4px solid #667eea;
    border-radius: 5px;
    font-size: 13px;
    color: #555;
}

.security-note::before {
    content: "🔒 ";
}

input::placeholder {
    color: #aaa;
}

.contact-dialog[hidden] {
    display: none;
}

.contact-dialog {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-dialog__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.contact-dialog__panel {
    position: relative;
    width: min(92vw, 560px);
    border-radius: 12px;
    padding: 24px;
    background: #f8fbff;
    color: #1d2b3a;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35);
}

.contact-dialog__title {
    color: #0b3b74;
    margin: 0 0 12px;
}

.contact-dialog__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-dialog__label {
    color: #0b3b74;
    font-weight: 600;
    margin-top: 4px;
}

.contact-dialog__input,
.contact-dialog__textarea {
    width: 100%;
    border: 1px solid #bfd2ec;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
}

.contact-dialog__textarea {
    resize: vertical;
    min-height: 110px;
}

.contact-dialog__status {
    min-height: 20px;
    margin: 0;
    color: #1f4f86;
    font-size: 13px;
}

.contact-dialog__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 6px;
}

.contact-dialog__button {
    min-width: 96px;
    border-radius: 8px;
    border: 1px solid #0b3b74;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 14px;
}

.contact-dialog__button--cancel {
    background: #ffffff;
    color: #0b3b74;
}

.contact-dialog__button--submit {
    background: #0b3b74;
    color: #ffffff;
}

.contact-dialog__button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.about-dialog__content {
    color: #1d2b3a;
    line-height: 1.5;
    margin-bottom: 8px;
}

.about-dialog__content p {
    margin: 0 0 8px;
}

.about-dialog__content a {
    color: #0b3b74;
}




/*--------------------------------*/

#user-pane {

    margin: 0 auto;
    width: 640px;
}


.user-container {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 25px 50px 0 rgba(0, 51, 153, 0.5);
}



.content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-items: center;
}

/* login page */

.rectangle640 {

    background: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: "OpenSans";
    position: relative;
}

.rectangle1237 {
    height: 48px;

    background: #1b1b26;
    border-radius: 12px 12px 0 0;

    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;

    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rectangle1237a {
    height: 48px;
    display: flex;
    justify-content: center;
    color: #1b1b26;
}

#qrcode {
    margin: -20px;
    min-height: 256px;
}

.rectangle1237c {
    height: 48px;

    background: #1b1b26;
    border-radius: 0 0 12px 12px;

    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;

    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}

.help-contact-white {
    display: flex;
    justify-content: space-between;
    color: white;
    width: 210px;
}

.open-passhub-tab {
    cursor: pointer;
}