body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #0c0d0d;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
}

/* Global link styling */
a {
    text-decoration: none;
    transition: color 0.3s ease;
    color: #0c0d0d;
}

a:hover {
    color: #6f42c1 !important;
    text-decoration: none;
}

.navbar {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar-brand {
    color: white !important;
    font-weight: bold;
    font-size: 1.5rem;
    text-decoration: none;
}

.navbar-brand:hover {
    color: white !important;
    text-decoration: none;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-link:hover {
    color: white !important;
    text-decoration: none;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 25px;
    padding: 10px 30px;
    font-weight: 500;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color:yellow;
}

.btn-secondary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 25px;
    padding: 10px 30px;
    font-weight: 400;
    color:white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color:yellow;
}

.form-control {
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 12px 15px;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-control:placeholder {
  color: #f2eded;
  opacity: 1; /* Firefox */
}

.form-control:-ms-input-placeholder { /* Edge 12-18 */
  color: #f2eded;
}

/* Captcha Box Styling */
.captcha-box {
    display: inline-block;
    background: linear-gradient(135deg, #f8f9fa 0%, #e5e5e5 100%);
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 6px 20px;
    text-align: center;
    min-width: 120px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.captcha-text {
    font-family: 'Courier New', monospace;
    font-size: 24px;
    font-weight: bold;
    color: pink;
    letter-spacing: 3px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.captcha-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.02) 2px,
        rgba(0, 0, 0, 0.02) 4px
    );
    pointer-events: none;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* Better spacing for lists */
.list-unstyled li {
    transition: transform 0.2s ease;
}

.list-unstyled li:hover {
    transform: translateX(5px);
}

/* User Menu Styling */
.user-menu {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 8px 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.user-menu:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-top: 8px;
    z-index: 9999 !important;
}

.dropdown-item {
    border-radius: 8px;
    margin: 2px 8px;
    padding: 8px 12px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.dropdown-item:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateX(3px);
    text-decoration: none;
}

.dropdown-item.text-danger:hover {
    background: rgba(220, 53, 69, 0.1);
    text-decoration: none;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    text-decoration: none;
}

.btn-light {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
    color: #495057;
    text-decoration: none;
}

.btn-light:hover {
    background: white;
    border-color: white;
    color: #495057;
    transform: translateY(-1px);
    text-decoration: none;
}

.btn-google {
    display: inline-flex;
    align-items: center;
    background-color: #4285F4;
    border-radius: 4px;
    color: white !important;
    font-weight: 600;
    font-size: 16px;
    padding: 10px 16px;
    text-decoration: none;
    user-select: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-google:hover {
    background-color: #3367D6;
    text-decoration: none;
    color: white !important;
}

.btn-google svg {
    height: 24px;
    width: 24px;
    margin-right: 8px;
}

@media (max-width: 768px) {
    .col-lg-10 {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .user-menu {
        padding: 6px 12px !important;
        font-size: 0.9rem;
    }
    
    .btn-sm {
        padding: 4px 12px;
        font-size: 0.8rem;
    }
}
