* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f7fb;
    color: #14213d;
}

a {
    color: #1565d8;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
}

/* BAL OLDAL */

.brand-panel {
    position: relative;
    overflow: hidden;
    padding: 64px 72px;
    background:
        radial-gradient(circle at 10% 10%, rgba(61, 126, 255, 0.12), transparent 34%),
        linear-gradient(145deg, #eef5ff 0%, #f7faff 58%, #edf4ff 100%);
    display: flex;
    flex-direction: column;
}

.brand-panel::after {
    content: "";
    position: absolute;
    right: -160px;
    bottom: -160px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(52, 113, 244, 0.08);
}

.logo-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 72px;
    position: relative;
    z-index: 2;
}

.clock-logo {
    width: 54px;
    height: 54px;
    border: 5px solid #1261df;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1261df;
    font-size: 31px;
    line-height: 1;
    background: rgba(255, 255, 255, 0.65);
}

.brand-name {
    color: #105ccf;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.brand-copy {
    max-width: 690px;
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-block;
    color: #3b5d8b;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
}

.brand-copy h1 {
    font-size: clamp(42px, 4.6vw, 68px);
    line-height: 1.04;
    letter-spacing: -2px;
    color: #0d1e3d;
    margin-bottom: 24px;
}

.brand-copy p {
    max-width: 625px;
    font-size: 19px;
    line-height: 1.65;
    color: #51627a;
}

.feature-grid {
    margin-top: 46px;
    max-width: 680px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.feature-grid article {
    min-height: 118px;
    padding: 20px 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid #dbe6f4;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(30, 66, 115, 0.04);
}

.feature-grid strong {
    display: block;
    font-size: 17px;
    color: #18355e;
    margin-bottom: 8px;
}

.feature-grid span {
    display: block;
    font-size: 14px;
    line-height: 1.5;
    color: #6b7b90;
}

.brand-panel footer {
    margin-top: auto;
    padding-top: 36px;
    font-size: 13px;
    color: #8190a3;
    position: relative;
    z-index: 2;
}

/* JOBB OLDAL */

.login-panel {
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 48px;
}

.login-card {
    width: 100%;
    max-width: 530px;
    background: #ffffff;
    border: 1px solid #e1e8f0;
    border-radius: 22px;
    padding: 46px 46px 42px;
    box-shadow: 0 24px 65px rgba(20, 48, 84, 0.12);
}

.mobile-logo {
    display: none;
}

.login-card h2 {
    font-size: 39px;
    line-height: 1.1;
    color: #0d1e3d;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.muted {
    color: #6a788b;
    line-height: 1.55;
    margin-bottom: 30px;
}

.login-form {
    display: grid;
    gap: 20px;
}

.login-form > label > span {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #233954;
    margin-bottom: 8px;
}

.login-form input[type="text"],
.login-form input[type="email"],
.login-form input[type="password"] {
    width: 100%;
    height: 52px;
    padding: 0 15px;
    border: 1px solid #cbd6e3;
    border-radius: 10px;
    font-size: 15px;
    color: #16263e;
    background: #ffffff;
    transition: 0.2s ease;
}

.login-form input[type="text"]:focus,
.login-form input[type="email"]:focus,
.login-form input[type="password"]:focus {
    outline: none;
    border-color: #1768e5;
    box-shadow: 0 0 0 4px rgba(23, 104, 229, 0.10);
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 14px;
}

.check {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #46576d;
}

.check input {
    width: 16px;
    height: 16px;
}

.primary-btn {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #1769e8, #0e57d0);
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(18, 97, 223, 0.20);
    transition: 0.2s ease;
}

.primary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(18, 97, 223, 0.26);
}

.divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 28px 0;
    color: #98a4b3;
    font-size: 13px;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e3e9f0;
}

.secondary-btn {
    min-height: 50px;
    border: 1px solid #b9c9de;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1762d6;
    background: #f8fbff;
    font-weight: 700;
    transition: 0.2s ease;
}

.secondary-btn:hover {
    text-decoration: none;
    border-color: #1762d6;
    background: #f0f6ff;
}

.approval-note {
    margin-top: 20px;
    padding: 15px 16px;
    border-radius: 10px;
    background: #eef5ff;
    color: #496382;
    font-size: 13px;
    line-height: 1.5;
}

/* TABLET */

@media (max-width: 1100px) {
    .auth-shell {
        grid-template-columns: 1fr;
    }

    .brand-panel {
        padding: 42px 38px;
    }

    .logo-row {
        margin-bottom: 38px;
    }

    .brand-copy h1 {
        font-size: 46px;
    }

    .feature-grid {
        max-width: none;
    }

    .login-panel {
        padding: 44px 24px 60px;
    }
}

/* MOBIL */

@media (max-width: 680px) {
    .brand-panel {
        display: none;
    }

    .auth-shell {
        display: block;
        min-height: 100vh;
        background: #f4f7fb;
    }

    .login-panel {
        min-height: 100vh;
        padding: 22px 14px;
        align-items: flex-start;
    }

    .login-card {
        margin-top: 24px;
        max-width: 100%;
        border-radius: 18px;
        padding: 28px 20px;
    }

    .mobile-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 28px;
    }

    .mobile-logo .clock-logo {
        width: 40px;
        height: 40px;
        border-width: 4px;
        font-size: 21px;
    }

    .mobile-logo strong {
        font-size: 22px;
        color: #105ccf;
    }

    .login-card h2 {
        font-size: 32px;
    }

    .form-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
}

}
	.login-error {
    margin: 16px 0 20px;
    padding: 13px 15px;
    border-radius: 10px;
    background: #fff1f1;
    border: 1px solid #ffcaca;
    color: #b42318;
    font-size: 14px;
    font-weight: 600;
}
	/* ==============================
   TIMEFLOW MODAL
============================== */

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(10, 28, 56, 0.55);
    backdrop-filter: blur(5px);

    animation: modalFadeIn 0.2s ease;
}

.modal-card {
    width: 100%;
    max-width: 430px;

    padding: 38px 34px 32px;

    background: #ffffff;

    border: 1px solid #e2e9f2;
    border-radius: 22px;

    text-align: center;

    box-shadow:
        0 30px 80px
        rgba(13, 35, 68, 0.26);

    animation: modalSlideIn 0.22s ease;
}

.modal-icon {
    width: 72px;
    height: 72px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 32px;
    font-weight: 800;
}

.success-icon {
    background: #eaf8f0;
    color: #179653;
}

.pending-icon {
    background: #fff6df;
    color: #d68a12;
}

.modal-card h3 {
    margin-bottom: 12px;

    color: #10213d;

    font-size: 25px;
    line-height: 1.2;
}

.modal-card p {
    margin-bottom: 26px;

    color: #68788d;

    font-size: 15px;
    line-height: 1.6;
}

.modal-button {
    width: 100%;
    min-height: 50px;

    border: 0;
    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #1769e8,
            #0e57d0
        );

    color: #ffffff;

    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.modal-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 10px 22px
        rgba(18, 97, 223, 0.22);
}

.modal-hide {
    opacity: 0;
    transition: opacity 0.2s ease;
}

@keyframes modalFadeIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {

    from {
        opacity: 0;
        transform:
            translateY(14px)
            scale(0.97);
    }

    to {
        opacity: 1;
        transform:
            translateY(0)
            scale(1);
    }
}
.register-form {
    gap: 22px;
}

.register-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.register-grid label {
    min-width: 0;
}

@media (max-width: 680px) {

    .register-grid {
        grid-template-columns: 1fr;
    }
}