/* Admin Panel Styles */
.admin-panel {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    background: #8b7355;
    color: white;
    padding: 10px 15px;
    border-bottom-left-radius: 10px;
    cursor: pointer;
    z-index: 9999;
    font-family: 'Montserrat', sans-serif;
}

.admin-login {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.admin-login-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.admin-login h3 {
    margin-bottom: 20px;
    color: #8b7355;
    font-family: 'Montserrat', sans-serif;
}

.admin-dashboard {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 10000;
    overflow-y: auto;
    padding: 20px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.admin-header h2 {
    color: #8b7355;
    font-size: 2rem;
    font-family: 'Good Vibes Pro', cursive;
}

.admin-actions {
    margin-bottom: 30px;
}

.admin-btn {
    padding: 10px 20px;
    background: #8b7355;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin-right: 10px;
    font-family: 'Montserrat', sans-serif;
}

.admin-btn:hover {
    background: #d4af37;
}

.responses-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.responses-table th, .responses-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    font-family: 'Montserrat', sans-serif;
}

.responses-table th {
    background-color: #f9f5f0;
    color: #8b7355;
    font-weight: 500;
}

.responses-table tr:hover {
    background-color: #f5f5f5;
}

/* Responsive для админ-панели */
@media (max-width: 768px) {
    .admin-panel {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .responses-table {
        font-size: 0.9rem;
    }
    
    .responses-table th, .responses-table td {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .admin-header h2 {
        margin-bottom: 15px;
    }
}