/* ========================================
   БГП ПО РФ - ПОЛНЫЕ СТИЛИ
   ======================================== */

:root {
    --bg-dark: #0a0a0a;
    --bg-card: #111111;
    --bg-hover: #1a1a1a;
    --yellow: #FFD700;
    --yellow-dark: #DAA520;
    --yellow-light: #FFF8DC;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --success: #4CAF50;
    --error: #F44336;
    --warning: #FF9800;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--yellow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    font-size: 40px;
    color: var(--yellow);
    animation: shake 3s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 22px;
    font-weight: 800;
    color: var(--yellow);
    letter-spacing: 1px;
}

.logo-sub {
    font-size: 11px;
    color: var(--text-gray);
}

nav ul {
    display: flex;
    gap: 8px;
    list-style: none;
    flex-wrap: wrap;
}

nav ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    color: var(--text-white);
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background: var(--yellow);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

nav ul li a.active {
    background: var(--yellow);
    color: var(--bg-dark);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--yellow);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background: var(--yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--yellow);
    color: var(--yellow);
}

.btn-outline:hover {
    background: var(--yellow);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

.btn-danger {
    background: var(--error);
    color: white;
}

.btn-danger:hover {
    background: #d32f2f;
    transform: translateY(-2px);
}

/* Forms */
.form-container {
    max-width: 500px;
    margin: 50px auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.form-container h1 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--yellow);
    font-size: 28px;
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--yellow);
    font-weight: 600;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    color: var(--text-white);
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--yellow);
    background: rgba(255, 255, 255, 0.12);
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--text-gray);
    font-size: 12px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .half {
    flex: 1;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--text-gray);
}

.form-footer a {
    color: var(--yellow);
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Alerts */
.alert {
    padding: 12px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.alert.success {
    background: rgba(76, 175, 80, 0.15);
    border-left: 4px solid var(--success);
    color: #81c784;
}

.alert.error {
    background: rgba(244, 67, 54, 0.15);
    border-left: 4px solid var(--error);
    color: #ef9a9a;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: radial-gradient(circle at 30% 10%, rgba(255, 215, 0, 0.05), transparent);
    border-radius: 40px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '🚛';
    position: absolute;
    font-size: 150px;
    opacity: 0.05;
    bottom: -30px;
    right: -30px;
    transform: rotate(15deg);
}

.hero h1 {
    font-size: 48px;
    color: var(--yellow);
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-gray);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Features */
.features {
    margin: 80px 0;
}

.features h2 {
    text-align: center;
    color: var(--yellow);
    margin-bottom: 40px;
    font-size: 36px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--yellow);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--yellow);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 14px;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 80px 0;
}

.stat-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.02));
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--yellow);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--text-gray);
}

/* CTA */
.cta {
    text-align: center;
    padding: 60px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), transparent);
    border-radius: 40px;
    margin: 60px 0;
}

.cta h2 {
    color: var(--yellow);
    margin-bottom: 30px;
    font-size: 32px;
}

/* Profile */
.profile-info {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.profile-avatar {
    text-align: center;
    margin-bottom: 30px;
}

.profile-avatar i {
    font-size: 80px;
    color: var(--yellow);
}

.profile-field {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.profile-field label {
    width: 120px;
    color: var(--yellow);
    font-weight: 600;
}

.profile-field span {
    flex: 1;
}

/* Orders */
.orders-list {
    margin: 40px 0;
}

.orders-table {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 20px;
    overflow-x: auto;
}

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

.orders-table th,
.orders-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.orders-table th {
    color: var(--yellow);
    font-weight: 600;
}

.orders-table tr:hover {
    background: rgba(255, 215, 0, 0.03);
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-new { background: var(--yellow); color: var(--bg-dark); }
.status-accepted { background: var(--success); color: white; }
.status-in_progress { background: var(--warning); color: var(--bg-dark); }
.status-completed { background: var(--success); color: white; }
.status-cancelled { background: var(--error); color: white; }

/* Price Card */
.price-card {
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    color: var(--bg-dark);
}

.price-label {
    font-size: 14px;
    margin-bottom: 5px;
}

.price-value {
    font-size: 32px;
    font-weight: 800;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    margin: 40px 0;
}

.empty-state i {
    font-size: 64px;
    color: var(--yellow);
    opacity: 0.5;
    margin-bottom: 20px;
}

.empty-state h3 {
    color: var(--yellow);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--text-gray);
}

/* Loader */
.loader {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 215, 0, 0.2);
    border-top: 4px solid var(--yellow);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Footer */
footer {
    background: #060606;
    border-top: 2px solid var(--yellow);
    padding: 30px 0;
    margin-top: 60px;
    text-align: center;
}

footer p {
    color: var(--text-gray);
    font-size: 14px;
}

footer i {
    color: var(--error);
    animation: heartbeat 1.5s ease infinite;
    display: inline-block;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .features h2 {
        font-size: 28px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .profile-field {
        flex-direction: column;
        gap: 5px;
    }
    
    .profile-field label {
        width: auto;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .form-container {
        margin: 30px 15px;
        padding: 30px 20px;
    }
    
    .orders-table th,
    .orders-table td {
        font-size: 13px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .stats {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .logo-icon {
        font-size: 32px;
    }
    
    .logo-main {
        font-size: 18px;
    }
    
    .cta {
        padding: 40px 20px;
    }
    
    .cta h2 {
        font-size: 24px;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--yellow);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--yellow-dark);
}