@font-face {
    font-family: SommetRoundedRegular;
    src: url(../../SommetRoundedRegular.otf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 50%, #a5d6a7 100%);
    min-height: 100vh;
}

.root {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 40px;
    background-color: #fff;
    box-shadow: 0 2px 12px rgba(80, 200, 120, 0.15);
    z-index: 10;
    position: sticky;
    top: 0;
    border-bottom: 2px solid #50c878;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 140px;
    height: auto;
}

.cizgi {
    margin: 0 20px;
    width: 1px;
    height: 36px;
    background-color: #e0e0e0;
}

.bireysel {
    font-size: 17px;
    color: #999;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.lang span {
    font-size: 14px;
    color: #50c878;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 16px;
    border: 1px solid #50c878;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.lang span:hover {
    background: #50c878;
    color: #fff;
}

.body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.form {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(80, 200, 120, 0.15);
    padding: 40px 36px;
    width: 100%;
    max-width: 420px;
    border-top: 3px solid #50c878;
}

.form h3 {
    font-family: SommetRoundedRegular, sans-serif;
    font-size: 18px;
    color: #2e7d32;
    text-align: center;
    margin-bottom: 8px;
    line-height: 1.5;
    font-weight: 600;
}

.form form {
    margin-top: 28px;
}

.form-group {
    text-align: left;
    margin-bottom: 22px;
    position: relative;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #2e7d32;
    margin-bottom: 6px;
    display: block;
    letter-spacing: 0.2px;
}

.form-group input.form-control {
    background: #f1f8f2 !important;
    border: 1.5px solid #a5d6a7;
    border-radius: 10px;
    font-size: 15px;
    padding: 12px 14px;
    width: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    color: #333;
    font-family: SommetRoundedRegular, sans-serif;
}

.form-group input.form-control:focus {
    border-color: #50c878;
    box-shadow: 0 0 0 3px rgba(80, 200, 120, 0.12);
    outline: none;
    background: #fff !important;
}

.form-group small {
    color: #66bb6a;
    font-size: 11px;
    margin-top: 5px;
    display: block;
}

.login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #50c878 0%, #3db068 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(80, 200, 120, 0.3);
}

.login-btn:hover {
    background: linear-gradient(135deg, #45b56c 0%, #35a05e 100%);
    box-shadow: 0 6px 20px rgba(80, 200, 120, 0.4);
    transform: translateY(-1px);
}

.login-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(80, 200, 120, 0.3);
}

.pass-reset {
    display: block;
    text-align: center;
    font-size: 13px;
    color: #50c878;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.pass-reset:hover {
    color: #3db068;
    text-decoration: underline;
}

.form-error {
    background: #fff5f5;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 16px;
}

/* Mobile */
@media (max-width: 768px) {
    .header {
        padding: 12px 20px;
    }

    .logo img {
        width: 110px;
    }

    .cizgi {
        margin: 0 12px;
        height: 24px;
    }

    .bireysel {
        font-size: 14px;
    }

    .lang span {
        font-size: 12px;
        padding: 5px 12px;
    }

    .body {
        padding: 24px 16px;
        align-items: flex-start;
        padding-top: 30px;
    }

    .form {
        padding: 28px 24px;
        border-radius: 14px;
        box-shadow: 0 4px 20px rgba(80, 200, 120, 0.12);
    }

    .form h3 {
        font-size: 16px;
    }

    .form-group input.form-control {
        font-size: 16px;
        padding: 11px 12px;
    }

    .login-btn {
        height: 46px;
        font-size: 15px;
    }
}

@media (max-width: 380px) {
    .form {
        padding: 24px 20px;
    }

    .header {
        padding: 10px 16px;
    }

    .logo img {
        width: 95px;
    }

    .cizgi {
        margin: 0 8px;
        height: 20px;
    }

    .bireysel {
        font-size: 12px;
    }
}