/* Irish Color Palette */
:root {
    --irish-green: #169B62;
    --irish-orange: #FF883E;
    --irish-white: #FFFFFF;
    --dark-green: #0F5132;
    --light-green: #D1E7DD;
    --accent-gold: #FFD700;
    --text-dark: #212529;
    --text-muted: #6C757D;
    --border-light: #DEE2E6;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Irish Green Background */
.bg-irish-green {
    background-color: var(--irish-green) !important;
}

.bg-irish-orange {
    background-color: var(--irish-orange) !important;
}

.text-irish-green {
    color: var(--irish-green) !important;
}

.text-irish-orange {
    color: var(--irish-orange) !important;
}

/* Button Styles */
.btn-irish-green {
    background-color: var(--irish-green);
    border-color: var(--irish-green);
    color: white;
}

.btn-irish-green:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
    color: white;
}

.btn-irish-orange {
    background-color: var(--irish-orange);
    border-color: var(--irish-orange);
    color: white;
}

.btn-irish-orange:hover {
    background-color: #E6772A;
    border-color: #E6772A;
    color: white;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--irish-green) 0%, var(--dark-green) 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Card Styles */
.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.card-header {
    background-color: var(--light-green);
    border-bottom: 2px solid var(--irish-green);
}

/* Course Cards */
.course-card {
    height: 100%;
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(22, 155, 98, 0.2);
}

.course-image {
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.course-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--irish-green);
}

.course-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--irish-orange);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Form Styles */
.form-control:focus {
    border-color: var(--irish-green);
    box-shadow: 0 0 0 0.2rem rgba(22, 155, 98, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
}

/* Dashboard Styles */
.dashboard-card {
    background: linear-gradient(135deg, var(--irish-green) 0%, var(--dark-green) 100%);
    color: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}

.dashboard-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.dashboard-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.dashboard-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Table Styles */
.table-irish {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.table-irish thead {
    background-color: var(--irish-green);
    color: white;
}

.table-irish tbody tr:hover {
    background-color: var(--light-green);
}

/* Status Badges */
.status-pending {
    background-color: #FFC107;
    color: #000;
}

.status-active {
    background-color: var(--irish-green);
    color: white;
}

.status-completed {
    background-color: #198754;
    color: white;
}

.status-cancelled {
    background-color: #DC3545;
    color: white;
}

/* Profile Photo */
.profile-photo-preview {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--irish-green);
}

/* Loading Spinner */
.spinner-irish {
    border: 4px solid var(--light-green);
    border-top: 4px solid var(--irish-green);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .dashboard-card {
        margin-bottom: 1rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

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

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--irish-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-green);
}

