/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base styles */
body {
    background: radial-gradient(circle at 30% 30%, #002b45, #000814);
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-container {
    max-width: 900px;
    text-align: center;
}

.welcome-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.welcome-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #00ffff;
    letter-spacing: 1px;
    font-weight: 700;
}

.btn-custom {
    padding: 10px 25px;
    font-size: 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-primary-custom {
    background-color: #00bfff;
    color: #ffffff;
    border: none;
}

.btn-primary-custom:hover {
    background-color: #0099cc;
}

.btn-success-custom {
    background-color: #28a745;
    color: #ffffff;
    border: none;
}

.btn-success-custom:hover {
    background-color: #218838;
}

.btn-danger-custom {
    background-color: #dc3545;
    color: #ffffff;
    border: none;
}

.btn-danger-custom:hover {
    background-color: #c82333;
}

.text-muted {
    color: #d1d1d1 !important;
}

.text-primary {
    color: #00ffff !important;
}

/* Container Styles */
.home-container {
    
    margin: 0 auto;
    padding: 20px;
}

/* Welcome Card */
.welcome-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.welcome-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Typography */
.welcome-title {
    color: #333;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.user-info p {
    font-size: 1.1rem;
    color: #666;
}

.text-primary {
    color: #667eea !important;
    font-size: 1.2rem;
}

/* Button Styles */
.btn-custom {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-custom:hover::before {
    left: 100%;
}

.btn-primary-custom {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: 2px solid transparent;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    color: white;
}

.btn-success-custom {
    background: linear-gradient(135deg, #56ab2f, #a8e6cf);
    color: white;
    border: 2px solid transparent;
}

.btn-success-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(86, 171, 47, 0.3);
    color: white;
}

.btn-danger-custom {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    border: 2px solid transparent;
}

.btn-danger-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    color: white;
}

/* User Info Section */
.user-info {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 20px;
    border-radius: 15px;
    margin-top: 20px;
    border: 1px solid #dee2e6;
}

/* Authentication Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.auth-card {
    max-width: 400px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

.auth-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 30px 25px;
    text-align: center;
}

.auth-header h2 {
    margin: 0;
    font-weight: 700;
    font-size: 1.8rem;
}

.auth-header p {
    margin: 5px 0 0 0;
    font-size: 0.9rem;
}

/* Form Styling */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    background: white;
    outline: none;
}

.form-control:hover {
    border-color: #ced4da;
    background: white;
}

/* Form Help Text */
.form-text {
    font-size: 0.825rem;
    margin-top: 5px;
    display: block;
    line-height: 1.4;
}

.form-text.text-muted {
    color: #6c757d !important;
}

/* Link Styling */
.link-custom {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.link-custom:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Divider */
hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #dee2e6, transparent);
}

/* Error Messages */
.text-danger {
    color: #dc3545 !important;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .welcome-title {
        font-size: 2rem;
    }
    
    .welcome-card {
        padding: 30px 20px;
        margin: 10px;
    }
    
    .btn-custom {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .d-flex.gap-3 {
        flex-direction: column;
        gap: 15px !important;
    }
}

@media (max-width: 480px) {
    .welcome-title {
        font-size: 1.8rem;
    }
    
    .welcome-card {
        padding: 25px 15px;
    }
    
    .auth-container {
        padding: 10px;
    }
    
    .auth-card {
        margin: 10px;
    }
    
    .auth-header {
        padding: 25px 20px;
    }
    
    .auth-header h2 {
        font-size: 1.5rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.welcome-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Icon Styles */
.fas {
    color: inherit;
}

/* Custom Gap for Flexbox */
.gap-3 {
    gap: 1rem !important;
}

/* Text Styling */
.text-muted {
    color: #6c757d !important;
    font-size: 1rem;
    line-height: 1.5;
}
