﻿:root {
    --primary-beige: #F5F1E8;
    --secondary-cream: #E8DFCA;
    --accent-brown: #A68B7B;
    --dark-brown: #7D6E5D;
    --light-beige: #FAF7F0;
}

body {
    background-color: var(--primary-beige);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.navbar {
    background-color: var(--dark-brown);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    color: white !important;
    font-weight: 600;
    font-size: 1.4rem;
}

.nav-tabs {
    border-bottom: 2px solid var(--accent-brown);
    margin-bottom: 20px;
}

    .nav-tabs .nav-link {
        color: var(--dark-brown);
        font-weight: 500;
        border: none;
        padding: 12px 24px;
    }

        .nav-tabs .nav-link.active {
            background-color: var(--accent-brown);
            color: white;
            border-radius: 8px 8px 0 0;
        }

.table-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 20px;
    margin-bottom: 30px;
}

.table-custom {
    background-color: white;
}

    .table-custom thead {
        background-color: var(--secondary-cream);
        color: var(--dark-brown);
    }

    .table-custom th {
        border-top: none;
        font-weight: 600;
    }

    .table-custom tbody tr:hover {
        background-color: rgba(166, 139, 123, 0.1);
    }

.badge-custom {
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.badge-working {
    background-color: #4CAF50;
    color: white;
}

.badge-repair {
    background-color: #FF9800;
    color: white;
}

.badge-scrapped {
    background-color: #F44336;
    color: white;
}


.btn-custom {
    background-color: var(--accent-brown);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
}

    .btn-custom:hover {
        background-color: var(--dark-brown);
        color: white;
        transform: translateY(-2px);
    }

.btn-login {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s;
}

    .btn-login:hover {
        background-color: #2980b9;
        color: white;
        transform: translateY(-2px);
    }
.action-buttons a {
    text-decoration: none;
}


.section-fixed-height {
    max-height: 500px;
    overflow-y: auto;
}

.search-filter-container {
    background-color: white;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.search-box {
    position: relative;
}

    .search-box i {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #999;
    }

    .search-box input {
        padding-left: 45px;
    }


.login-tabs {
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 20px;
}

    .login-tabs .nav-link {
        color: var(--dark-brown);
        font-weight: 500;
        border: none;
        padding: 10px 20px;
    }

        .login-tabs .nav-link.active {
            background-color: var(--accent-brown);
            color: white;
            border-radius: 5px;
        }

.password-change-link {
    color: var(--accent-brown);
    text-decoration: none;
    font-size: 0.9rem;
    cursor: pointer;
}

    .password-change-link:hover {
        text-decoration: underline;
    }


@media (max-width: 768px) {
    .nav-tabs .nav-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .table-responsive {
        font-size: 0.85rem;
    }

    .search-filter-container .row > div {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.2rem;
    }

    .table-custom th, .table-custom td {
        padding: 10px 8px;
    }
}

.guest-message {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

    .guest-message i {
        font-size: 3rem;
        color: var(--accent-brown);
        margin-bottom: 20px;
    }


.email-sent-message {
    text-align: center;
    padding: 20px;
}

    .email-sent-message i {
        font-size: 2.5rem;
        color: #4CAF50;
        margin-bottom: 15px;
    }

.category-title {
    color: var(--dark-brown);
    border-bottom: 2px solid var(--accent-brown);
    padding-bottom: 8px;
    margin-bottom: 20px;
    font-weight: 600;
}

.status-card {
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    text-align: center;
    color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

    .status-card:hover {
        transform: translateY(-5px);
    }

.status-working {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
}

.status-repair {
    background: linear-gradient(135deg, #FF9800, #EF6C00);
}

.status-scrapped {
    background: linear-gradient(135deg, #F44336, #C62828);
}


.license-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    border-left: 4px solid var(--accent-brown);
}

.license-count {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-brown);
    text-align: center;
    margin: 10px 0;
}


.btn-license {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
}

    .btn-license:hover {
        background-color: #2980b9;
        color: white;
        transform: translateY(-2px);
    }

.form-container, .details-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 30px;
    margin-top: 20px;
}

.details-header {
    border-bottom: 2px solid var(--accent-brown);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.details-title {
    color: var(--dark-brown);
    font-weight: 600;
}

.info-label {
    color: var(--dark-brown);
    font-weight: 500;
    margin-bottom: 5px;
}

.info-value {
    font-size: 1.1rem;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.progress-custom {
    height: 10px;
    border-radius: 5px;
    background-color: #e9ecef;
}

    .progress-custom .progress-bar {
        background-color: var(--accent-brown);
        border-radius: 5px;
    }

.action-buttons {
    display: flex;
    gap: 5px;
}

.btn-action {
    padding: 5px 10px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-details {
    background-color: #3498db;
    color: white;
    border: none;
}

.btn-edit {
    background-color: #f39c12;
    color: white;
    border: none;
}

.btn-delete {
    background-color: #e74c3c;
    color: white;
    border: none;
}

.nav-tabs-custom {
    border-bottom: 2px solid var(--accent-brown);
    margin-bottom: 20px;
}

    .nav-tabs-custom .nav-link {
        color: var(--dark-brown);
        font-weight: 500;
        border: none;
        padding: 12px 24px;
    }

        .nav-tabs-custom .nav-link.active {
            background-color: var(--accent-brown);
            color: white;
            border-radius: 8px 8px 0 0;
        }

.breadcrumb-custom {
    background-color: transparent;
    padding: 0;
    margin-bottom: 20px;
}

    .breadcrumb-custom .breadcrumb-item a {
        color: var(--accent-brown);
        text-decoration: none;
    }

    .breadcrumb-custom .breadcrumb-item.active {
        color: var(--dark-brown);
    }

.software-list {
    list-style-type: none;
    padding-left: 0;
}

    .software-list li {
        padding: 10px 15px;
        background-color: #f9f9f9;
        margin-bottom: 8px;
        border-radius: 6px;
        border-left: 4px solid var(--accent-brown);
    }

.alert-custom {
    background-color: var(--secondary-cream);
    border: 1px solid var(--accent-brown);
    color: var(--dark-brown);
    border-radius: 8px;
}

html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}


.table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
}


@media (max-width: 900px) {
    .navbar .container-fluid {
        flex-wrap: wrap !important;
    }

    .navbar-brand {
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        text-align: center !important;
        margin-bottom: 8px !important;
        font-size: 1.2rem !important; 
    }

    .navbar .d-flex.align-items-center {
        width: 100% !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
    }
}

@media (max-width: 600px) {
    .navbar-brand {
        font-size: 1rem !important;
    }

    .navbar .d-flex.align-items-center {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 400px) {
    .navbar-brand {
        font-size: 0.9rem !important;
    }

    .navbar .d-flex.align-items-center .me-3 {
        text-align: center !important;
        margin-right: 0 !important;
    }

    .navbar .btn-sm {
        padding: 0.2rem 0.5rem !important;
    }

    .pagination-container {
        margin-top: 20px;
        display: flex;
        justify-content: center;
        gap: 5px;
        flex-wrap: wrap;
    }

        .pagination-container .btn {
            min-width: 40px;
        }

    .btn-outline-brown {
        color: var(--dark-brown);
        border: 1px solid var(--accent-brown);
        background-color: transparent;
        transition: all 0.3s;
    }

        .btn-outline-brown:hover:not(:disabled) {
            background-color: var(--accent-brown);
            color: white;
        }

        .btn-outline-brown:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
 
}