﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

/* Home Page Styles */
.home-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 50px 20px;
}

    .home-container h1 {
        color: white;
        font-size: 3em;
        margin-bottom: 10px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

.subtitle {
    color: white;
    font-size: 1.2em;
    margin-bottom: 60px;
    opacity: 0.9;
}

.logo-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.logo-link {
    text-decoration: none;
    transition: transform 0.3s ease;
}

    .logo-link:hover {
        transform: scale(1.05);
    }

.logo {
    width: 300px;
    height: 300px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .logo:hover {
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    }

.boys-logo {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.girls-logo {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.logo h2 {
    color: white;
    font-size: 3em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Order Page Styles */
.order-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

    .order-container h1 {
        color: #333;
        margin-bottom: 20px;
        text-align: center;
    }

.back-link {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    margin-bottom: 30px;
    font-weight: 600;
    transition: color 0.3s ease;
}

    .back-link:hover {
        color: #764ba2;
    }

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

    .form-section:last-child {
        border-bottom: none;
    }

    .form-section h2 {
        color: #667eea;
        margin-bottom: 20px;
        font-size: 1.5em;
    }

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        color: #333;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .form-group input[type="text"] {
        width: 100%;
        padding: 12px;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        font-size: 1em;
        transition: border-color 0.3s ease;
    }

        .form-group input[type="text"]:focus {
            outline: none;
            border-color: #667eea;
        }

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .radio-label:hover {
        background-color: #f8f9ff;
        border-color: #667eea;
    }

    .radio-label input[type="radio"] {
        margin-right: 10px;
        cursor: pointer;
        width: 18px;
        height: 18px;
    }

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .checkbox-label:hover {
        background-color: #f8f9ff;
        border-color: #667eea;
    }

    .checkbox-label input[type="checkbox"] {
        margin-right: 10px;
        cursor: pointer;
        width: 18px;
        height: 18px;
    }

.note {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 4px;
    color: #856404;
    font-size: 0.9em;
}

.info {
    background-color: #d1ecf1;
    border-left: 4px solid #17a2b8;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 4px;
    color: #0c5460;
    font-size: 0.9em;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    }

    .submit-btn:active {
        transform: translateY(0);
    }

.total-display {
    margin-top: 20px;
    padding: 20px;
    background-color: #f8f9ff;
    border-radius: 8px;
    text-align: center;
    font-size: 1.3em;
    font-weight: 600;
    color: #667eea;
    display: none;
}

    .total-display.show {
        display: block;
    }

/* Admin Page Styles */
.admin-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}



/* Container for body content */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.body-content {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px 10px 0 0 !important;
    border: none;
    padding: 15px 20px;
}

.card-body {
    padding: 20px;
}





.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.col-md-4, .col-md-3, .col-md-2, .col-md-6 {
    padding: 0 10px;
    box-sizing: border-box;
}

.col-md-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
}

.col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.col-md-2 {
    flex: 0 0 16.666%;
    max-width: 16.666%;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.d-flex {
    display: flex;
}

.align-items-end {
    align-items: flex-end;
}

.w-100 {
    width: 100%;
}

.me-1 {
    margin-right: 5px;
}

.me-2 {
    margin-right: 10px;
}

.mb-4 {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 15px;
}

.mt-4 {
    margin-top: 20px;
}

.mt-auto {
    margin-top: auto;
}

.g-4 {
    gap: 20px;
}

.g-3 {
    gap: 15px;
}



/* Alerts */
.alert {
    border-radius: 10px;
    border: none;
    padding: 15px;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
}

/* Headings */
h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 2em;
}

h5 {
    margin-bottom: 10px;
    font-size: 1.25em;
}

/* Utility */
.text-center {
    text-align: center;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.h-100 {
    height: 100%;
}

.flex-column {
    flex-direction: column;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar-nav {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item {
    margin: 0;
}

.nav-link {
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

    .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
    }

/* Navbar toggler (for mobile) */
.navbar-toggler {
    border: none;
    background: transparent;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Table Styles */
.table {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: white;
}

    .table th, .table td {
        padding: 15px 12px;
        text-align: left;
        border-bottom: 1px solid #e0e0e0;
        vertical-align: middle;
    }

    .table thead th {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border: none;
        font-weight: 700;
        font-size: 1em;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .table tbody tr {
        transition: background-color 0.3s ease, transform 0.2s ease;
    }

        .table tbody tr:hover {
            background-color: #f0f4ff;
            transform: scale(1.01);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

.table-striped tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.table-striped tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.table-bordered th, .table-bordered td {
    border: 1px solid #e0e0e0;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* Button Styles */
.btn {
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9em;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    }

.btn-danger {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
}

    .btn-danger:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    }

.btn-success {
    background: linear-gradient(135deg, #51cf66 0%, #40c057 100%);
    color: white;
}

    .btn-success:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(81, 207, 102, 0.4);
    }

.btn-outline-primary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

    .btn-outline-primary:hover {
        background: #667eea;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    }

.btn-outline-danger {
    background: transparent;
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
}

    .btn-outline-danger:hover {
        background: #ff6b6b;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    }

.btn-outline-success {
    background: transparent;
    color: #51cf66;
    border: 2px solid #51cf66;
}

    .btn-outline-success:hover {
        background: #51cf66;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(81, 207, 102, 0.4);
    }

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8em;
}

/* Responsive table */
@media (max-width: 768px) {
    .table {
        font-size: 0.875em;
    }

        .table th, .table td {
            padding: 10px 8px;
        }

    .btn {
        padding: 6px 12px;
        font-size: 0.8em;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .admin-page {
        padding: 10px;
    }

    .body-content {
        padding: 20px;
    }

    .row {
        flex-direction: column;
    }

    .col-md-4, .col-md-3, .col-md-2, .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: center;
    }

    .nav-link {
        margin: 5px 0;
    }

    .table {
        font-size: 0.875em;
    }

    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .home-container h1 {
        font-size: 2em;
    }

    .logo {
        width: 250px;
        height: 250px;
    }

        .logo h2 {
            font-size: 2.5em;
        }

    .order-container {
        padding: 20px;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .admin-container {
        padding: 20px;
    }

    .navbar-nav {
        margin-top: 10px;
    }

    .card-body {
        padding: 15px;
    }
}
