/* Εμπορικός Σύλλογος Αλιβερίου - Custom Styles */
:root {
    --esa-red: #c41e3a;
    --esa-blue: #003087;
    --esa-dark: #1a1a2e;
    --esa-light: #f8f9fa;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f5f6fa;
}

main {
    flex: 1;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, var(--esa-blue) 0%, #001a4d 100%);
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    padding: 0.6rem 0;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.05rem;
}

.navbar-brand img {
    border-radius: 50%;
    background: white;
    padding: 2px;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 0.9rem !important;
    border-radius: 6px;
    transition: background 0.2s;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255,255,255,0.12);
}

.btn-outline-light {
    border-width: 1.5px;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--esa-blue) 0%, var(--esa-red) 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: rgba(255,255,255,0.05);
    transform: rotate(25deg);
}

.hero .logo-hero {
    max-width: 180px;
    border-radius: 50%;
    background: white;
    padding: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.card-header {
    background: var(--esa-blue);
    color: white;
    border-radius: 12px 12px 0 0 !important;
    font-weight: 600;
}

/* Buttons */
.btn-primary {
    background-color: var(--esa-blue);
    border-color: var(--esa-blue);
}

.btn-primary:hover {
    background-color: #002266;
    border-color: #002266;
}

.btn-danger {
    background-color: var(--esa-red);
    border-color: var(--esa-red);
}

.btn-outline-primary {
    color: var(--esa-blue);
    border-color: var(--esa-blue);
}

.btn-outline-primary:hover {
    background-color: var(--esa-blue);
    border-color: var(--esa-blue);
}

/* Footer */
.footer {
    background: var(--esa-dark);
    color: #ccc;
}

.footer a:hover {
    color: white !important;
    text-decoration: underline;
}

/* Forms */
.form-control:focus,
.form-select:focus {
    border-color: var(--esa-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 48, 135, 0.2);
}

.form-check-input:checked {
    background-color: var(--esa-blue);
    border-color: var(--esa-blue);
}

/* Members area */
.members-sidebar {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.members-sidebar .nav-link {
    color: var(--esa-dark);
    border-radius: 8px;
    margin-bottom: 4px;
}

.members-sidebar .nav-link:hover,
.members-sidebar .nav-link.active {
    background: var(--esa-blue);
    color: white;
}

/* Status badges */
.badge-pending { background-color: #ffc107; color: #000; }
.badge-approved { background-color: #198754; }
.badge-rejected { background-color: #dc3545; }

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .hero {
        padding: 2.5rem 0;
        text-align: center;
    }
    .hero .logo-hero {
        max-width: 140px;
        margin-bottom: 1rem;
    }
    .navbar-brand span {
        font-size: 0.95rem;
    }
}

/* Utility */
.section-title {
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--esa-blue);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--esa-red);
}

.text-esa-blue { color: var(--esa-blue); }
.text-esa-red { color: var(--esa-red); }
.bg-esa-blue { background-color: var(--esa-blue); }
.bg-esa-red { background-color: var(--esa-red); }
