:root {
  --primary-color: #007bff;
  --secondary-color: #6c757d;
  --danger-color: #dc3545;
  --info-color: #0dcaf0;
  --text-dark: #212529;
  --text-light: #f8f9fa;
  --background-color: #f5f7fa;
  --black: #000;
  --space-16: 1rem;
  --space-32: 2rem;
  --font-size-14: 0.875rem;
  --font-size-24: 1.5rem;
  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--background-color);
  font-family: var(--font-family);
  color: var(--text-dark);
  margin: 0;
  padding: 0;
}

/* Layout */
.right-column {
  display: none;
}

.left-column {
  padding: var(--space-16);
  background-color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.welcoming-title {
  font-weight: 700;
  font-size: var(--font-size-24);
  color: var(--primary-color);
  margin-bottom: var(--space-16);
}

.form {
  max-width: 338px;
  width: 100%;
  margin: auto;
}

.cta-btn {
  width: 100%;
  margin-top: var(--space-32);
  padding: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  background-color: var(--primary-color);
  border: none;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

.cta-btn:hover {
  background-color: #0056b3;
}

.sign-up-prompt,
.login-prompt {
  font-weight: 500;
  font-size: var(--font-size-14);
  margin-top: var(--space-32);
  text-align: center;
  color: var(--secondary-color);
}

.sign-up-link,
.log-in-link {
  font-weight: 600;
  text-decoration: underline;
  color: var(--primary-color);
  cursor: pointer;
}

/* Responsive */
@media (min-width: 768px) {
  .row {
    display: flex;
  }

  .left-column,
  .right-column {
    width: 50%;
  }

  .welcoming-title {
  margin-bottom: 20px;
  }

  .right-column {
    display: block;
    border-left: 2px solid var(--black);
    background-image: url('../img/analysis.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }
}

:root {
    --google-red: #DB4437;
    --facebook-blue: #4267B2;
    --twitter-blue: #1DA1F2;
    --bg-color: #f8fafc;
    --text-color: #334155;
    --divider-color: #e2e8f0;
    --transition-speed: 0.3s;
    --easing: cubic-bezier(0.25, 0.8, 0.25, 1);
}

.social-login-container {
    width: 100%;
    margin: 2rem 0;
}

.social-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--text-color);
    font-size: 0.875rem;
    font-weight: 500;
}

.divider-line {
    flex: 1;
    height: 1px;
    background-color: var(--divider-color);
}

.divider-text {
    padding: 0 1rem;
    color: var(--text-color);
    opacity: 0.7;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-btn {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-speed) var(--easing);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: none;
    background-color: white;
    padding: 0;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: transform var(--transition-speed) var(--easing);
}

.social-svg {
    width: 24px;
    height: 24px;
    transition: all var(--transition-speed) var(--easing);
}

/* Google Button */
.social-btn.google {
    background-color: white;
    border: 1px solid #e2e8f0;
}

.social-btn.google .social-svg {
    fill: var(--google-red);
}

.social-btn.google:hover {
    background-color: var(--google-red);
    box-shadow: 0 4px 20px rgba(219, 68, 55, 0.3);
}

.social-btn.google:hover .social-svg {
    fill: white;
    transform: scale(1.1);
}

/* Facebook Button */
.social-btn.facebook {
    background-color: white;
    border: 1px solid #e2e8f0;
}

.social-btn.facebook .social-svg {
    fill: var(--facebook-blue);
}

.social-btn.facebook:hover {
    background-color: var(--facebook-blue);
    box-shadow: 0 4px 20px rgba(66, 103, 178, 0.3);
}

.social-btn.facebook:hover .social-svg {
    fill: white;
    transform: scale(1.1);
}

/* Twitter Button */
.social-btn.twitter {
    background-color: white;
    border: 1px solid #e2e8f0;
}

.social-btn.twitter .social-svg {
    fill: var(--twitter-blue);
}

.social-btn.twitter:hover {
    background-color: var(--twitter-blue);
    box-shadow: 0 4px 20px rgba(29, 161, 242, 0.3);
}

.social-btn.twitter:hover .social-svg {
    fill: white;
    transform: scale(1.1);
}

/* Tooltip */
.tooltip {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--text-color);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) var(--easing);
    white-space: nowrap;
    pointer-events: none;
}

.social-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
    bottom: -40px;
}

/* Ripple Effect */
.social-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 1%, transparent 1%) center/15000%;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s, background-size 0.5s;
}

.social-btn:active::after {
    background-size: 100%;
    opacity: 1;
    transition: background-size 0s;
}

/* Animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.social-btn:hover {
    animation: float 1.5s var(--easing) infinite;
}

/* Responsive */
@media (max-width: 480px) {
    .social-buttons {
        gap: 1rem;
    }
    
    .social-btn {
        width: 48px;
        height: 48px;
    }
    
    .social-svg {
        width: 20px;
        height: 20px;
    }
}

.input:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    background-color: #fff;
}

.input:focus + .label,
.input:not(:placeholder-shown) + .label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: #4f46e5;
    background-color: #fff;
}


/* Error Message Styling */
.invalid-feedback {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #ef4444;
    padding: 5px 10px;
    background-color: rgba(239, 68, 68, 0.05);
    border-left: 3px solid #ef4444;
    border-radius: 0 4px 4px 0;
    animation: fadeIn 0.3s ease;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #4f46e5; /* Or your primary color */
    cursor: pointer;
}

.remember-me label {
    cursor: pointer;
    user-select: none;
}

.forgot-password {
    color: #4f46e5; /* Or your primary color */
    text-decoration: none;
    transition: color 0.2s ease;
}

.forgot-password:hover {
    color: #4338ca; /* Slightly darker shade */
    text-decoration: underline;
}