/* Frontend Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.dm-login-container,
.dm-registration-container {
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dm-dashboard-content,
.dm-client-content {
    margin-left: 250px;
    padding: 30px;
    background: #f9fafb;
    min-height: 100vh;
}

.dm-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 250px;
    height: 100vh;
    background: #1f2937;
    color: white;
    padding: 20px;
    overflow-y: auto;
}

.dm-sidebar nav a {
    display: block;
    padding: 12px 15px;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-bottom: 5px;
    transition: background 0.2s;
}

.dm-sidebar nav a:hover {
    background: #374151;
}

.dm-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.dm-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.dm-stat-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.dm-table {
    width: 100%;
    border-collapse: collapse;
}

.dm-table thead tr {
    border-bottom: 2px solid #e5e7eb;
}

.dm-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #374151;
}

.dm-table td {
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.dm-table tbody tr:hover {
    background: #f9fafb;
}

.dm-button {
    padding: 10px 20px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
}

.dm-button:hover {
    background: #1d4ed8;
}

.dm-button-secondary {
    background: #6b7280;
}

.dm-button-secondary:hover {
    background: #4b5563;
}

.dm-button-success {
    background: #10b981;
}

.dm-button-success:hover {
    background: #059669;
}

.dm-button-danger {
    background: #ef4444;
}

.dm-button-danger:hover {
    background: #dc2626;
}

.dm-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.dm-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
}

.dm-form-group {
    margin-bottom: 20px;
}

.dm-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #374151;
}

.dm-form-group input,
.dm-form-group textarea,
.dm-form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
}

.dm-form-group input:focus,
.dm-form-group textarea:focus,
.dm-form-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

@media (max-width: 768px) {
    .dm-dashboard-content,
    .dm-client-content {
        margin-left: 0;
        padding: 15px;
    }
    
    .dm-sidebar {
        display: none;
    }
    
    .dm-stat-grid {
        grid-template-columns: 1fr;
    }
}


#sidebarToggle{
    display: none;
}