﻿html, body {
    margin: 0;
    height: 100%;
    background-color: #F8FAFC;
    color: black;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
}

#wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}


h2 {
    text-align: center;
    color: #0c2093;
    margin-bottom: 2rem;
}


.alert-success {
    max-width: 500px;
    margin: 1rem auto;
    padding: 1rem;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
}

.text-danger {
    font-size: 0.9rem;
    color: #c0392b;
}

.validation-summary-errors {
    max-width: 500px;
    margin: 1rem auto;
    padding: 1rem;
    background-color: #fbeaea;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    color: #a94442;
}

.validation-summary-errors ul {
    margin: 0;
    padding-left: 1.2rem;
}

a {
    color: #0c2093;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}
.diffrent-options {
    text-align: center;
    margin: 1.5rem;
    font-size: 0.95rem;
    color: #444;
    opacity: 0.85;
}

.diffrent-options a {
    color: #0c2093;
    text-decoration: underline;
    font-weight: 500;
}

.diffrent-options a:hover {
    text-decoration: none;
}

#edit-user-form,
#change-password-form,
#reset-password-form,
#forgot-password-form,
#register-form,
#login-form {
    max-width: 360px;
    margin: 2rem auto;
    background-color: #f9fbff;
    padding: 2rem 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(12, 32, 147, 0.15);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
    #edit-user-form div,
    #change-password-form div,
    #reset-password-form div,
    #forgot-password-form div,
    #register-form div,
    #login-form div {
        margin-bottom: 1.25rem;
        display: flex;
        flex-direction: column;
    }
    #edit-user-form label,
    #change-password-form label,
    #reset-password-form label,
    #forgot-password-form label,
    #register-form label,
    #login-form label {
        font-weight: 600;
        color: #0c2093;
        margin-bottom: 0.4rem;
        font-size: 0.95rem;
        user-select: none;
    }
    #edit-user-form input[type="text"],
    #edit-user-form input[type="email"],
    #change-password-form input[type="password"],
    #reset-password-form input[type="password"],
    #forgot-password-form input[type="email"],
    #register-form input[type="email"],
    #register-form input[type="password"],
    #register-form input[type="text"],
    #login-form input[type="email"],
    #login-form input[type="password"] {
        padding: 0.6rem 0.8rem;
        font-size: 1rem;
        border: 1.8px solid #d9eafd;
        border-radius: 5px;
        transition: border-color 0.25s ease;
        outline-offset: 2px;
    }

        #edit-user-form input[type="text"],
        #edit-user-form input[type="email"],
        #change-password-form input[type="password"]:focus,
        #forgot-password-form input[type="email"]:focus,
        #register-form input[type="email"]:focus,
        #register-form input[type="password"]:focus,
        #register-form input[type="text"]:focus,
        #login-form input[type="email"]:focus,
        #login-form input[type="password"]:focus {
            border-color: #0c2093;
            box-shadow: 0 0 6px rgba(12, 32, 147, 0.3);
        }

    #edit-user-form input[type="checkbox"],
    #register-form input[type="checkbox"],
    #login-form input[type="checkbox"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
        margin-top: 5px;
        accent-color: #0c2093;
    }

    #edit-user-form button,
    #change-password-form button,
    #reset-password-form button,
    #forgot-password-form button,
    #register-form button,
    #login-form button {
        width: 100%;
        padding: 0.7rem 0;
        font-size: 1.1rem;
        font-weight: 600;
        color: white;
        background-color: #0c2093;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

        #edit-user-form button:hover,
        #change-password-form button:hover,
        #reset-password-form button:hover,
        #forgot-password-form button:hover,
        #register-form button:hover,
        #login-form button:hover {
            background-color: #0a176e;
        }
        #edit-user-form button:disabled,
        #change-password-form button:disabled,
        #reset-password-form button:disabled,
        #forgot-password-form button:disabled,
        #register-form button:disabled,
        #login-form button:disabled {
            background-color: #a0a6c1;
            cursor: not-allowed;
        }


.outer-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.open-app-link {
    text-decoration: none;
    display: inline-block; /* żeby link miał rozmiar przycisku */
    cursor: pointer;
}

.inner-button {
    background-color: #0c2093;
    color: white;
    padding: 0.75rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(12, 32, 147, 0.2);
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
}

.open-app-link:hover .inner-button {
    background-color: #0a176e;
    transform: translateY(-2px);
}

.video-wrapper {
    max-width: 50%;
    margin: 3rem auto;
    display: flex;
    justify-content: center;
    position: relative;
    aspect-ratio: 16 / 9;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


.forgot-info {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #0c2093;
}

.terms-container,
.policy-container {
    max-width: 720px;
    margin: 3rem auto;
    padding: 2rem 2.5rem;
    background-color: #f9fbff;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(12, 32, 147, 0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #0c2093;
}
    .terms-container h1,
    .policy-container h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        font-weight: 700;
    }

    .terms-container h2,
    .policy-container h2 {
        font-size: 1.3rem;
        margin-top: 1.8rem;
        margin-bottom: 0.8rem;
        font-weight: 600;
    }

    .terms-container p,
    .terms-container ul,
    .policy-container p,
    .policy-container ul {
        font-size: 1rem;
        line-height: 1.5;
    }

    .terms-container ul,
    .policy-container ul {
        padding-left: 1.2rem;
    }

    .terms-container a,
    .policy-container a {
        color: #0c2093;
        text-decoration: underline;
    }

        .terms-container a:hover,
        .policy-container a:hover {
            color: #0a176e;
        }

.form-noteditable{
    background-color: #e6e6e6;
}