body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 25px;
    font-size: 2.5em;
    border-bottom: 3px solid #667eea;
    padding-bottom: 15px;
}

.menu-container {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.menu {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.menu-link {
    padding: 12px 20px;
    text-decoration: none;
    background: #6c757d;
    color: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.menu-link:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.menu-link.active {
    background: #007bff;
    box-shadow: 0 4px 8px rgba(0,123,255,0.3);
}

.submenu {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.submenu-link {
    padding: 8px 15px;
    text-decoration: none;
    background: #17a2b8;
    color: white;
    border-radius: 6px;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.submenu-link:hover {
    background: #138496;
}

.submenu-link.active {
    background: #dc3545;
}

.content-area {
    background: white;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

table th {
    background: #495057;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

table td {
    padding: 12px 15px;
    border-bottom: 1px solid #dee2e6;
}

table tr:nth-child(even) {
    background: #f8f9fa;
}

table tr:hover {
    background: #e9ecef;
}

.pagination {
    display: flex;
    gap: 8px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.page-link {
    padding: 8px 15px;
    text-decoration: none;
    background: #e9ecef;
    color: #495057;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: #dee2e6;
}

.page-link.active {
    background: #007bff;
    color: white;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #007bff;
    outline: none;
}

.btn {
    padding: 12px 30px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid #f5c6cb;
}

.contact-list {
    display: grid;
    gap: 15px;
    margin: 20px 0;
}

.contact-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.contact-item.current {
    background: #007bff;
    color: white;
    border-color: #0056b3;
}