* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #f5f7fa;
    color: #2d3748;
    line-height: 1.6;
}

/* Login Page */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #ef747c, #b51e27, #ef747c);
    background-size: 300% 300%;
    animation: gradientMove 6s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
	
}

.login-box {
    background: #fff;
    border-radius: 14px;
    padding: 40px 30px;
    box-shadow: 0 10px 10px rgba(0,0,0,0.2);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h1 {
    color: #1a1a2e;
    font-size: 24px;
    font-weight: 700;
}

.login-header h2 {
    color: #4a5568;
    font-size: 16px;
    font-weight: 400;
    margin-top: 5px;
}

.login-box .form-group {
    margin-bottom: 20px;
}

.login-box .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #4a5568;
}

.login-box .form-group input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.login-box .form-group input:focus {
    border-color: #2b6cb0;
    outline: none;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #a0aec0;
}

/* App Layout */
.app-wrapper {
    display: flex;
    min-height: 100vh;
    max-width: 100vw;
}

/* Sidebar */
.sidebar {
    width: 260px;
    min-height: 100vh;
    background: #1a1a2e;
    color: #fff;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
    overflow-y: auto;
}

.sidebar-brand {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-brand h2 {
    font-size: 18px;
    font-weight: 600;
}

.sidebar-brand h2 i {
    color: #4fc3f7;
    margin-right: 10px;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.2s;
    border-left: 3px solid transparent;
    font-size: 14px;
}

.nav-item i {
    width: 20px;
    margin-right: 12px;
    font-size: 16px;
}

.nav-item:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

.nav-item.active {
    background: rgba(79, 195, 247, 0.1);
    border-left-color: #4fc3f7;
    color: #fff;
}

.nav-item.logout {
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    color: #ef5350;
}

.sidebar-user {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-user .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: #4a5568;
}

.sidebar-user span {
    font-size: 14px;
    font-weight: 500;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 24px 32px;
    margin-left: 260px;
    min-height: 100vh;
    max-width: calc(100% - 260px);
}

/* Page Header */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.page-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
}

.page-header h1 i {
    color: #2b6cb0;
    margin-right: 12px;
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    /* transition: all 0.2s; */
    font-family: 'Montserrat', sans-serif;
}

.btn:hover {
    transform: translateY(-1px);

}

.btn-primary {
    background: #e03e48;
    color: #fff;
}

.btn-primary:hover {
    background: #f0666e;
}

.btn-success {
    background: #38a169;
    color: #fff;
}

.btn-success:hover {
    background: #2f855a;
}

.btn-danger {
    background: #e53e3e;
    color: #fff;
}

.btn-danger:hover {
    background: #c53030;
}

.btn-secondary {
    background: #e2e8f0;
    color: #2d3748;
}

.btn-secondary:hover {
    background: #cbd5e0;
}

.btn-primary {
    background: #e03e48;
    color: #fff;
}

.btn-primary:hover {
    background: #f0666e;
}

.btn-sm {
    padding: 10px 15px;
    font-size: 12px;
}

.btn-lg {
    padding: 12px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Table */
.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.table thead {
    background: #1a1a2e;
    color: #fff;
}

.table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
}

.table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
    vertical-align: middle;
}

.table tbody tr:hover {
    background: #f7fafc;
}

.text-center {
    text-align: center;
}

/* Status Badges */
.status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.status-planned {
    background: #e2e8f0;
    color: #4a5568;
}

.status-active {
    background: #bee3f8;
    color: #2b6cb0;
}

.status-completed {
    background: #c6f6d5;
    color: #276749;
}

/* Forms */
.form-card {
    background: #fff;
    padding: 24px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}



.full-width {
    grid-column: 1 / -1;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 4px;
    color: #4a5568;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2b6cb0;
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

/* Checkboxes */
.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    margin: 4px;
}

.checkbox-label:hover {
    border-color: #2b6cb0;
    background: #f7fafc;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.participant-group {

    background: #fff;
	width: 100%;
}

.participant-group h4 {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
}

.employee-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

/* Cards for Employee */
.shootings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.shooting-card {
    background: #fff;
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.2s;
    border-left: 4px solid #2b6cb0;
}

.shooting-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.shooting-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.shooting-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 8px 0;
}

.shooting-card p {
    margin: 4px 0;
    font-size: 14px;
    color: #4a5568;
}

.shooting-card p i {
    width: 18px;
    color: #2b6cb0;
}

.shooting-card .task-note {
    background: #ebf8ff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    color: #2b6cb0;
    margin: 8px 0;
}

.participants-list {
    font-size: 13px;
    color: #4a5568;
    margin: 8px 0;
    padding: 8px 0;
    border-top: 1px solid #e2e8f0;
}

.shooting-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

/* Alerts */
.alert {
    padding: 12px 20px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 14px;
}

.alert-success {
    background: #c6f6d5;
    color: #276749;
    border-left: 4px solid #38a169;
}

.alert-error {
    background: #fed7d7;
    color: #9b2c2c;
    border-left: 4px solid #e53e3e;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.modal-box {
    background: #fff;
    padding: 30px;
    border-radius: 4px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-box h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.modal-box p {
    color: #4a5568;
    margin-bottom: 20px;
}

.filter-tabs {
    display: flex;
    gap: 8px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #a0aec0;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-state p {
    font-size: 18px;
}

/* Map */
#map {
    border-radius: 4px;
    border: 2px solid #e2e8f0;
}

/* Profile */
.profile-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
}

.profile-card {
    background: #fff;
    padding: 24px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.profile-card h3 {
    font-size: 18px;
    margin-bottom: 16px;
    font-weight: 600;
}

.profile-avatar {
    text-align: center;
}

.profile-avatar img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #e2e8f0;
    margin-bottom: 12px;
}

.avatar-upload {
    margin-top: 8px;
}

/* Responsive */
@media (max-width: 1200px) {
    .main-content {
        padding: 16px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 200px;
    }
    
    .main-content {
        margin-left: 200px;
        max-width: calc(100% - 200px);
        padding: 12px 16px;
    }
    
    .page-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .header-actions {
        flex-wrap: wrap;
    }
    
    .shootings-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .table th,
    .table td {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .login-container {
        padding: 10px;
    }
    
    .login-box {
        padding: 24px 16px;
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        min-height: auto;
    }
    
    .main-content {
        margin-left: 0;
        max-width: 100%;
    }
    
    .app-wrapper {
        flex-direction: column;
    }
    
    .sidebar-nav {
        display: flex;
        flex-wrap: wrap;
        padding: 8px 0;
    }
    
    .nav-item {
        padding: 8px 12px;
        font-size: 13px;
        border-left: none;
        border-bottom: 3px solid transparent;
    }
    
    .nav-item.active {
        border-left: none;
        border-bottom-color: #4fc3f7;
    }
    
    .sidebar-user {
        display: none;
    }
    
    .sidebar-brand h2 {
        font-size: 16px;
    }
    
    .shooting-card {
        padding: 16px;
    }
    
    .filter-tabs {
        flex-wrap: wrap;
    }
    
    .filter-tabs .btn {
        flex: 1;
        min-width: 80px;
        justify-content: center;
    }
    
    .modal-box {
        padding: 20px;
        width: 95%;
    }
}