/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.main-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo img {
    height: 50px;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background: #0048ff;
    color: white;
}

/* Dropdown Menu */
.main-nav .dropdown {
    position: relative;
}

.main-nav .dropdown-toggle {
    /*display: flex;*/
    align-items: center;
    gap: 0.5rem;
}

/* Country Selector Styles */
.country-selector {
   background: #0048ff;
    color: #f0eff5 !important;
    border-radius: 25px;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.country-selector:hover {
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.country-selector .flag-icon {
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.country-selector .country-text {
    font-weight: 600;
}

/* Country Dropdown Menu */
.country-dropdown {
    min-width: 220px;
    padding: 0.75rem 0;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.country-dropdown li {
    margin: 0;
}

.country-link {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem !important;
    color: #ffbf00 !important;
    background: transparent !important;
    border-radius: 0 !important;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.country-link:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    color: #0048ff !important;
    border-left-color: #0048ff;
    transform: translateX(-3px);
}

.country-link .flag {
    font-size: 1.5rem;
    width: 24px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}
.country-link .flag img {
    height: 100%;
}
.country-link .country-name {
    font-weight: 500;
    font-size: 0.95rem;
}

.main-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 0.5rem 0;
    list-style: none;
    display: block;
}

.main-nav .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .dropdown-menu li {
    margin: 0;
}

.main-nav .dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    background: transparent;
    border-radius: 0;
    transition: background 0.3s ease;
}

.main-nav .dropdown-menu a:hover {
    background: #f8f9fa;
    color: #0048ff;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notification-icon,
.messages-icon {
    position: relative;
}

.notification-icon a,
.messages-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f0eff5;
    border-radius: 50%;
    color: #0048ff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.notification-icon a:hover,
.messages-icon a:hover {
    background: #0048ff;
    color: white;
}

.notification-count {
    position: absolute;
    top: -5px;
    left: -5px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-dropdown {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.user-btn:hover {
    background: #f0eff5;
}

.user-btn img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #0048ff;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background 0.3s ease;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
}

.dropdown-divider {
    height: 1px;
    background: #eee;
    margin: 0.5rem 0;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.login-btn,
.post-ad-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.login-btn {
    background: transparent;
    color: #0048ff;
    border: 2px solid #0048ff;
}

.login-btn:hover {
    background: #0048ff;
    color: white;
}

.post-ad-btn {
    background: #28a745;
    color: white;
    border: 2px solid #28a745;
}

.post-ad-btn:hover {
    background: #218838;
    border-color: #218838;
}

/* Country Switcher Styles */
.country-switcher {
    position: relative;
    margin-left: 1rem;
}

.country-switcher-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f0eff5;
    border: none;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 5px;
    transition: background 0.3s ease;
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
}

.country-switcher-btn:hover {
    background: #e9ecef;
}

.country-switcher-btn .flag-icon {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid #ddd;
}

.country-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 0.5rem 0;
    max-height: 300px;
    overflow-y: auto;
}

.country-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.country-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background 0.3s ease;
    font-size: 0.9rem;
}

.country-dropdown-item:hover {
    background: #f8f9fa;
}

.country-dropdown-item .flag-icon {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid #ddd;
}

.country-dropdown-item.active {
    background: #e3f2fd;
    color: #0048ff;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 3px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

.mobile-nav {
    display: none;
    background: white;
    border-top: 1px solid #eee;
}

.mobile-nav ul {
    list-style: none;
    padding: 1rem 0;
    position: fixed;
    right: 0;
    height: auto;
    z-index: 99;
    background: #0048ff;
    width: 100%;
    box-shadow: 0 11px 10px rgb(0 0 0 / 20%);
}

.mobile-nav a {
    display: block;
    padding: 0.75rem 1rem;
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid #004081;
}

.mobile-nav a:hover {
    background: #001e69;;
}

/* Mobile Dropdown */
.mobile-dropdown {
    position: relative;
}

.mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Mobile Country Styles */
.mobile-country-toggle {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    border-radius: 8px;
    margin: 0.25rem;
    padding: 0.75rem 1rem !important;
}

.mobile-country-toggle .mobile-flag-icon {
    font-size: 1.2rem;
}

.mobile-country-menu {
    background: #f8f9fa !important;
    border-radius: 8px;
    margin: 0.25rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.mobile-country-link {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem !important;
    border-radius: 6px !important;
    margin: 0.25rem;
    transition: all 0.3s ease;
}

.mobile-country-link:hover {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%) !important;
    color: #0048ff !important;
}

.mobile-country-link .mobile-flag {
    font-size: 1.3rem;
    width: 24px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-dropdown-menu {
    display: none;
    background: #e9ecef;
    padding-right: 1rem;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    display: block;
}

.mobile-dropdown-menu a {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Hero Section (when no banners) */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: #0048ff;
}

/* Banner Slider */
.banner-slider {
    position: relative;
    margin: 1rem 0;
}

.slider-wrapper {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    touch-action: pan-y;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
    pointer-events: none; /* 👈 Add this line */
}

.slide.active {
    opacity: 1;
    pointer-events: auto; /* 👈 Add this line */
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: white;
}

/* Section Styles */
.section-title {
    font-weight: 700;
    color: #333;
    margin-top: 1rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-all {
    color: #0048ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.view-all:hover {
    color: #0056b3;
}

/* Categories Section */
.categories-section {
    margin-bottom: 1rem;
}

.categories-slider {
    position: relative;
}

.categories-wrapper {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    touch-action: pan-x;
}

.categories-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.category-item {
    flex: 0 0 auto;
    text-align: center;
    min-width: 150px;
}

.category-item a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 1.5rem;
    background: #f0eff5;
    border-radius: 10px;

}
.category-icon {
    margin-bottom: 1rem;
}

.category-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.category-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.recent-jobs, .recent-scholarships {
  background-color: rgb(240 239 245);
}

/* Jobs Grid */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 1rem;
    padding-bottom: 2rem;
}

.job-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
   border: 2px solid #f0eff5;
}

/*.job-card:hover {*/
/*    transform: translateY(-2px);*/
/*    box-shadow: 0 5px 20px rgba(0,0,0,0.15);*/
/*}*/
.featured-badge {
    background: #ffd700;
    display: inline-block;
    font-size: .7rem;
    padding: 3px 5px;
    border-radius: 5px;
}
.job-header {
    display: flex;
    gap: 1rem;
    margin-bottom: .5rem;
}

.company-logo {
    flex: 0 0 auto;
}

.company-logo img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #DDD;
}

.job-info h3 a {
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
}

.job-info h3 a:hover {
    color: #0048ff;
}

.company-name {
    color: #666;
    font-size: 0.9rem;
    display: inline-block;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.job-actions {
    text-align: left;
}

.apply-btn {
    background: #0048ff;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    transition: background 0.3s ease;
}

.apply-btn:hover {
    background: #0056b3;
}
.job-requirements {
    margin-top: 2rem;
}
/* Seekers Grid */
.seekers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.seeker-card {
    background: #f0eff5;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}

.seeker-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.verified-badge {
    margin: 0 3px;
}

.seeker-card h3 a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
}


.seeker-card h3 a:hover {
    color: #0048ff;
}

.seeker-name {
    color: #666;
    display: inline-flex;
    direction: rtl;
    font-weight: bold;
}

.seeker-meta {
    font-size: 0.9rem;
    color: #666;
}

.seeker-meta span {
    display: block;
}

.seeker-details h2 {
    display: inline-flex;
}
.seeker-details .verified-badge svg {
    margin-top: 7px;
}
/* Scholarships and Blog Grid */
.scholarships-grid,
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding-bottom: 3rem;
}

.scholarship-card,
.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.scholarship-image,
.blog-image {
    height: 200px;
    overflow: hidden;
}

.scholarship-image img,
.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.scholarship-card:hover .scholarship-image img,
.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.scholarship-content,
.blog-content {
    padding: 1rem;
}

.scholarship-content h3,
.blog-content h3 {
    margin-bottom: 1rem;
}

.scholarship-content h3 a,
.blog-content h3 a {
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
}

.scholarship-content h3 a:hover,
.blog-content h3 a:hover {
    color: #0048ff;
}

.scholarship-excerpt,
.blog-excerpt {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.scholarship-meta,
.blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #666;
}

.scholarship-meta span,
.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Footer */
.main-footer {
    background: #1f2731;
    color: white;
}

.footer-content {
    padding: 3rem 0;
}

.footer-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 60px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: #0048ff;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.contact-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/*.social-links a {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    width: 40px;*/
/*    height: 40px;*/
/*    background: #007bff;*/
/*    border-radius: 50%;*/
/*    color: white;*/
/*    text-decoration: none;*/
/*    transition: background 0.3s ease;*/
/*}*/

.social-links a:hover {
    background: #0056b3;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding: 1rem 0;
    text-align: center;
}

.copyright {
    color: #ccc;
}
/*Mobile Menu */
.bottom-nav {
    display: none;
  }

/* Responsive Design */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .country-switcher {
        margin-left: 0.5rem;
        order: -1; /* Move before other elements on mobile */
    }
    
    .country-switcher-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .country-switcher-btn span {
        display: none; /* Hide country name on very small screens */
    }
    
    .country-dropdown-menu {
        right: auto;
        left: 0;
        min-width: 180px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-nav.active {
        display: block;
        position: relative;
        width: 100%;
        height: 100%;
        background: #DDD;
    }
    
    .jobs-grid {
        grid-template-columns: 1fr;
    }
    
    .seekers-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: .5rem;    
    }
    
    .scholarships-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-wrapper {
        gap: 1rem;
    }
    
    .category-item {
        min-width: 120px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
    .section-header {
        gap: 1rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .slider-wrapper {
        height: 250px;
    }
    
    .category-item a{
        padding: .5rem;
        display: flex;
        background: #f0eff5;
        justify-content: center;
        align-items: center;
        
    }
    .category-icon {
        margin: 0;
        width: 30px;
        height: 30px;
    }
    .category-icon img {
        width: 30px;
        height: 30px;
    }
    .category-item h3 {
        margin: 0;
        padding: 5px;
    }
    /*Mobile Menu */
    .bottom-nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: fixed;
      bottom: 0;
      right: 0;
      left: 0;
      background-color: #0048ff;
      height: 60px;
      padding: 0 10px;
      z-index: 999;
      border-radius: 15px 15px 0 0;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    .nav-item {
      color: white;
      text-align: center;
      flex: 1;
      font-size: 12px;
    }
    .nav-item a {
        color: #FFF;
        text-decoration: none;
    }
    .nav-item i {
      display: block;
      font-size: 18px;
      margin-bottom: 3px;
    }

    .nav-add {
      background-color: #ffc107;
        width: 55px;
        height: 55px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #ffffff;
        margin: -40px auto 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        padding: 0.5rem 0;
    }
    
    .logo img {
        height: 30px;
    }
    
    .user-actions {
        gap: 0.5rem;
    }
    
    .country-switcher-btn .flag-icon {
        width: 20px;
        height: 15px;
    }
    
    .country-dropdown-item .flag-icon {
        width: 20px;
        height: 15px;
    }
    
    .auth-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .login-btn,
    .post-ad-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .slider-wrapper {
        height: 250px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    .job-header {
        margin-bottom: .5rem;
    }
    .job-card,
    .seeker-card,
    .scholarship-card,
    .blog-card {
        padding: .5rem;
    }
    
    .job-meta {
        gap: 0.5rem;
    }
    .job-info h3 a {
        font-size: .9rem;
    }
}

/* Animation Classes */


/*@keyframes fadeIn {*/
/*    from {*/
/*        opacity: 0;*/
/*        transform: translateY(20px);*/
/*    }*/
/*    to {*/
/*        opacity: 1;*/
/*        transform: translateY(0);*/
/*    }*/
/*}*/

.slide-in-right {
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0048ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #0048ff;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #0048ff;
    color: white;
}

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

.btn-success {
    background: #28a745;
    color: white;
}

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

.btn-danger {
    background: #dc3545;
    color: white;
}

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

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }