:root {
    --wood-dark: #4e342e;
    --wood-medium: #6d4c41;
    --wood-light: #8d6e63;
    --wood-bg: #fbe9e7;
    --wood-accent: #d7ccc8;
}

body {
    background-image: url("https://www.transparenttextures.com/patterns/wood-pattern.png");
    background-color: #fff8f5;
    font-family: 'Georgia', serif;
    min-height: 100vh;
}

.admin-container {
    max-width: 1200px;
    margin: 0 auto;
}

.admin-header {
    background-color: var(--wood-dark);
    color: #fff;
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.admin-logo {
    font-family: 'Georgia', serif;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.admin-sidebar {
    background: linear-gradient(135deg, var(--wood-dark) 0%, var(--wood-medium) 100%);
    color: white;
    min-height: calc(100vh - 80px);
    padding-top: 30px;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
}

.admin-sidebar .nav-link {
    color: #fbe9e7;
    padding: 12px 25px;
    margin: 5px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background-color: var(--wood-bg);
    color: var(--wood-dark);
    font-weight: 600;
}

.admin-sidebar .nav-link i {
    width: 28px;
    text-align: center;
    margin-right: 10px;
}

.admin-content {
    background-color: rgba(255, 255, 255, 0.92);
    padding: 30px;
    min-height: calc(100vh - 80px);
    border-left: 1px solid var(--wood-accent);
}

.admin-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: none;
    margin-bottom: 25px;
    overflow: hidden;
}

.card-header-admin {
    background: linear-gradient(135deg, var(--wood-medium) 0%, var(--wood-light) 100%);
    color: white;
    padding: 20px 25px;
    font-size: 1.4rem;
    font-weight: 600;
    border-bottom: 3px solid var(--wood-dark);
}

.admin-form .form-label {
    font-weight: 600;
    color: var(--wood-medium);
    margin-bottom: 8px;
}

.admin-form .form-control,
.admin-form .form-select {
    border: 2px solid var(--wood-accent);
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.admin-form .form-control:focus,
.admin-form .form-select:focus {
    border-color: var(--wood-light);
    box-shadow: 0 0 0 0.25rem rgba(109, 76, 65, 0.25);
}

.btn-wood {
    background-color: var(--wood-medium);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-wood:hover {
    background-color: var(--wood-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 52, 46, 0.3);
}

.btn-wood i {
    margin-right: 8px;
}

.image-preview {
    width: 100%;
    height: 200px;
    background-color: var(--wood-bg);
    border: 2px dashed var(--wood-accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 20px;
}

.image-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.image-preview i {
    font-size: 3rem;
    color: var(--wood-accent);
}

.stats-card {
    text-align: center;
    padding: 25px 15px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--wood-medium);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.stats-icon {
    width: 60px;
    height: 60px;
    background: rgba(109, 76, 65, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: var(--wood-medium);
}

.stats-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--wood-dark);
    margin-bottom: 5px;
}

.stats-label {
    font-size: 1.1rem;
    color: var(--wood-light);
    font-weight: 500;
}

.recent-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--wood-accent);
}

.recent-item:last-child {
    border-bottom: none;
}

.product-image-sm {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--wood-accent);
}

@media (max-width: 768px) {
    .admin-sidebar {
        min-height: auto;
    }

    .admin-content {
        min-height: auto;
        padding: 20px;
    }
}

.table th {
    background-color: var(--wood-bg);
    color: var(--wood-dark);
    font-weight: 600;
}

.table-hover tbody tr:hover {
    background-color: rgba(251, 233, 231, 0.5);
}

.btn-outline-wood {
    color: var(--wood-medium);
    border-color: var(--wood-medium);
}

.btn-outline-wood:hover {
    background-color: var(--wood-medium);
    color: white;
}

.badge.bg-success {
    background-color: #28a745 !important;
}

.badge.bg-warning {
    background-color: #ffc107 !important;
    color: #212529;
}

.badge.bg-danger {
    background-color: #dc3545 !important;
}

.pagination .page-item.active .page-link {
    background-color: var(--wood-medium);
    border-color: var(--wood-medium);
}

.pagination .page-link {
    color: var(--wood-medium);
}

.pagination .page-link:hover {
    background-color: var(--wood-bg);
}

.stats-card-sm {
    padding: 15px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.stats-icon-sm {
    width: 45px;
    height: 45px;
    background: rgba(109, 76, 65, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 18px;
    color: var(--wood-medium);
}

.stats-number-sm {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--wood-dark);
    margin-bottom: 0;
}

.stats-label-sm {
    font-size: 0.9rem;
    color: var(--wood-light);
}

/* Payment Section Styles */
.payment-container {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 30px;
}

.payment-methods {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

.payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.payment-method:hover {
    background-color: var(--wood-bg);
}

.payment-method.active {
    background-color: var(--wood-bg);
    border: 2px solid var(--wood-medium);
}

.payment-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.payment-form {
    display: none;
}

.payment-form.active {
    display: block;
}

/* About Us Styles */
.about-section {
    padding: 50px 0;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.about-header {
    text-align: center;
    margin-bottom: 40px;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-section {
    margin-top: 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.team-member {
    text-align: center;
    background-color: var(--wood-bg);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 5px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Contact Form Styles */
.contact-section {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 30px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-control {
    border: 2px solid var(--wood-accent);
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--wood-light);
    box-shadow: 0 0 0 0.25rem rgba(109, 76, 65, 0.25);
}

.contact-info {
    background-color: var(--wood-bg);
    border-radius: 12px;
    padding: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--wood-medium);
    margin-right: 15px;
    min-width: 30px;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 300px;
    margin-top: 30px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}