  :root {
    --primary-color: #800000;
    --secondary-color: #5E1914;
    --accent-color: #C19A6B;
    --light-color: #F5F5F5;
    --dark-color: #2C1E1E;
}

/* Global */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #F8F1E5 0%, #E8D9C5 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

/* Logo */
.logo-container {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInDown 1s ease;
}
.main-container {
    width: 100%;
    display: flex;
    justify-content: flex-end; /* Move to right side */
    align-items: center;
    padding: 40px;
    box-sizing: border-box;
    height: 100vh;
}


.logo {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Card */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.card-header-edge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.card-body {
    padding: 30px;
    background-color: white;
}

/* Form */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.2);
    outline: none;
}

/* Buttons */
.btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

 /* Welcome Screen Styles */
        #welcome-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.9);
            z-index: 9999;
            display: none;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            color: white;
            text-align: center;
            padding: 20px;
        }
        
        .welcome-content {
            max-width: 500px;
            padding: 30px;
            background: rgba(255,255,255,0.1);
            border-radius: 15px;
            backdrop-filter: blur(10px);
            animation: fadeIn 0.5s ease-out;
        }
        
        .welcome-avatar {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            margin: 0 auto 20px;
            background: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 40px;
            color: #333;
        }
        
        .welcome-progress {
            width: 100%;
            height: 5px;
            background: rgba(255,255,255,0.2);
            border-radius: 5px;
            margin-top: 20px;
            overflow: hidden;
        }
        
        .welcome-progress-bar {
            height: 100%;
            width: 0;
            background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
            transition: width 0.3s ease;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        

.welcome-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #333;
}

.welcome-progress {
    width: 100%;
    height: 5px;
    background: rgba(255,255,255,0.2);
    border-radius: 5px;
    margin-top: 20px;
    overflow: hidden;
}

.welcome-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    transition: width 0.3s ease;
}

.social-login {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap; /* Responsive for smaller screens */
  margin-top: 20px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  color: white;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  width: 150px;
  transition: 0.3s ease;
}

.social-btn i {
  margin-right: 8px;
}

/* Platform-specific colors */
.social-btn.google {
  background-color: #db4437;
}

.social-btn.facebook {
  background-color: #3b5998;
}

.social-btn.linkedin {
  background-color: #0077b5;
}

/* Hover effect */
.social-btn:hover {
  opacity: 0.9;
  transform: scale(1.03);
}
@media (max-width: 500px) {
  .social-login {
    flex-direction: column;
    align-items: center;
  }
}


/ /* Divider */
        .divider {
            display: flex;
            align-items: center;
            margin: 30px 0 20px;
            color: #555;
        }
        
        .divider::before, .divider::after {
            content: "";
            flex: 1;
            border-bottom: 1px solid #ccc;
        }
        
        .divider-text {
            padding: 0 10px;
            font-weight: bold;
        }

/* Register Link */
.register-link {
    text-align: center;
    margin-top: 20px;
    color: var(--dark-color);
}

.register-link a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.register-link a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.25em;
    margin: 0 auto;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
