/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #FBF6EF;
    color: #333;
    min-height: 100vh;
}

/* ===== Split Layout ===== */
.auth-container {
    display: flex;
    min-height: 100vh;
}

/* Left side – logo + mother & child background   background-color: #FBF6EF;*/
.auth-left { 
  flex: 1; 
  /* Removed the linear-gradient overlay */
  background-image: url('/uplaods/feedlink_logo.png'); 
  background-position: center; 
  background-size: cover; 
  background-repeat: no-repeat; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  position: relative; 
  overflow: hidden; 
}






/* Right side – form */
.auth-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 40px 20px;
}

.form-wrapper {
    width: 100%;
    max-width: 420px;
}

.form-wrapper h2 {
    font-size: 1.9rem;
    color: #2c3e50;
    margin-bottom: 6px;
}

.subtitle {
    color: #7f8c8d;
    margin-bottom: 28px;
    font-size: 0.95rem;
}

/* Form elements */
.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-form .form-row {
    display: flex;
    gap: 14px;
}

.auth-form .form-row .form-group {
    flex: 1;
}

.auth-form label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 6px;
}

.auth-form input,
.auth-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #dfe6e9;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fafbfc;
}

.auth-form input:focus,
.auth-form select:focus {
    outline: none;
    border-color: #ff7088;
    box-shadow: 0 0 0 3px rgba(255, 112, 136, 0.2);
    background: #fff;
}

.auth-form .hint {
    display: block;
    margin-top: 5px;
    font-size: 0.8rem;
    color: #95a5a6;
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ff7088, #ff9aab);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    margin-top: 8px;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 112, 136, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Alerts */
.alert {
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert ul {
    margin: 0;
    padding-left: 18px;
}

.alert-error {
    background: #fdecea;
    color: #c0392b;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background: #e8f8f0;
    color: #1e8449;
    border: 1px solid #a9dfbf;
}

.alert-success a {
    color: #1e8449;
    font-weight: 600;
}

/* Footer link */
.footer-link {
    text-align: center;
    margin-top: 28px;
    font-size: 0.92rem;
    color: #7f8c8d;
}

.footer-link a {
    color: #ff7088;
    font-weight: 600;
    text-decoration: none;
}

.footer-link a:hover {
    text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
    .auth-container {
        flex-direction: column;
    }

    .auth-left {
        min-height: 220px;
        flex: none;
    }

    .logo-area h1 {
        font-size: 2rem;
    }

    .logo-circle {
        width: 80px;
        height: 80px;
    }

    .logo-text {
        font-size: 1.8rem;
    }

    .auth-right {
        padding: 30px 18px 50px;
    }
}

@media (max-width: 480px) {
    .auth-form .form-row {
        flex-direction: column;
        gap: 0;
    }
}
