/* Стили для Production версии accounting */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #ff6b9d 0%, #ffc0cb 100%);
    min-height: 100vh;
    padding: 20px;
}

.accounting-container {
    max-width: 800px;
    margin: 0 auto;
}

.accounting-header {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px 15px 0 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.accounting-header h1 {
    color: #333;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.accounting-header p {
    color: #666;
    font-size: 1.2em;
}

.accounting-main {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.accounting-card {
    text-align: center;
}

.accounting-card h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 2em;
}

.accounting-card > p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.accounting-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.accounting-button {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.accounting-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.4);
}

.accounting-button:active {
    transform: translateY(0);
}

.accounting-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.accounting-button-update {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    font-size: 1.2em;
    padding: 15px 40px;
    margin-top: 10px;
}

.accounting-button-update:hover {
    box-shadow: 0 4px 12px rgba(250, 112, 154, 0.4);
}

.accounting-update-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
    border: 2px solid #e9ecef;
}

.accounting-update-section h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.5em;
}

.accounting-update-section > p {
    color: #666;
    margin-bottom: 20px;
}

.accounting-update-status {
    margin-top: 20px;
    min-height: 50px;
}

.accounting-status-loading {
    color: #4facfe;
    font-weight: bold;
    font-size: 1.1em;
}

.accounting-status-success {
    color: #28a745;
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.accounting-status-error {
    color: #dc3545;
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.accounting-status-info {
    color: #666;
    font-size: 0.9em;
    margin-top: 5px;
}

.accounting-menu-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.accounting-menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 1.1em;
    font-weight: bold;
    min-height: 120px;
}

.accounting-menu-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.accounting-menu-btn:active {
    transform: translateY(-2px);
}

.accounting-menu-btn .menu-icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.accounting-menu-btn .menu-text {
    font-size: 1.1em;
}

.accounting-menu-content {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    min-height: 100px;
}

.accounting-directories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.accounting-directory-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 1em;
    font-weight: bold;
    min-height: 100px;
}

.accounting-directory-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.accounting-directory-btn:active {
    transform: translateY(-1px);
}

.accounting-directory-btn .directory-icon {
    font-size: 2em;
    margin-bottom: 8px;
}

.accounting-directory-btn .directory-name {
    font-size: 1em;
    text-align: center;
}

.accounting-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.accounting-link {
    color: #4facfe;
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.2s;
}

.accounting-link:hover {
    color: #00f2fe;
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 600px) {
    .accounting-header h1 {
        font-size: 2em;
    }
    
    .accounting-card h2 {
        font-size: 1.5em;
    }
    
    .accounting-actions {
        flex-direction: column;
    }
    
    .accounting-button {
        width: 100%;
    }
}


