/* Form Common Styles - Ortak Form Stilleri */

/* Container ve Layout */
.login-container {
    min-height: 100vh;
    display: flex;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.brand-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background: rgba(255, 255, 255, 0.1);*/
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

    .brand-panel::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
        opacity: 0.3;
    }

.brand-content {
    text-align: center;
    color: white;
    z-index: 1;
    position: relative;
}

    .brand-content img {
        width: 120px;
        height: auto;
        margin-bottom: 2rem;
        /*filter: brightness(0) invert(1);*/
    }

.brand-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.brand-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Form Panel */
.form-panel {
    flex: 1;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

.login-form-container {
    width: 100%;
    max-width: 450px;
}

/* Form Header */
.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

    .form-header h5 {
        color: #333;
        font-weight: 600;
        margin-bottom: 1rem;
        font-size: 1.25rem;
    }

    .form-header h6 {
        color: #1bc3d8;
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 0;
    }

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: #333;
        font-size: 0.95rem;
    }

.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    z-index: 2;
    font-size: 1rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

    .form-control:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        background: #fff;
    }

    .form-control::placeholder {
        color: #adb5bd;
        font-style: italic;
    }

/* Validation */
.text-danger {
    color: #dc3545 !important;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.field-validation-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.input-validation-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

/* Alert Messages */
.alert {
    border: none;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: linear-gradient(135deg, #e7f3ff 0%, #b8daff 100%);
    color: #004085;
    border: 1px solid #b8daff;
}

/* Buttons */
.login-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 15px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

    .login-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
        color: white;
    }

    .login-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

.btn-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .btn-link:hover {
        color: #764ba2;
        text-decoration: underline;
    }

/* Form Options */
.form-options {
    text-align: center;
    margin-bottom: 1.5rem;
}

    .form-options small {
        color: #6c757d;
    }

/* Info Box */
.info-box {
    background: #e7f3ff;
    border: 1px solid #b8daff;
    color: #004085;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

    .info-box i {
        margin-right: 0.5rem;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }

    .brand-panel {
        min-height: 200px;
        flex: none;
    }

    .brand-title {
        font-size: 1.5rem;
    }

    .brand-subtitle {
        font-size: 1rem;
    }

    .form-panel {
        padding: 1rem;
    }

    .login-form-container {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .brand-content img {
        width: 80px;
    }

    .brand-title {
        font-size: 1.25rem;
    }

    .form-control {
        padding: 10px 12px 10px 40px;
        font-size: 0.9rem;
    }

    .input-icon {
        left: 12px;
        font-size: 0.9rem;
    }
}
