:root {
            --color-bg: #F8F9FB;
            --color-blue: #4A90E2;
            --color-blue-dark: #357ABD;
            --color-pink: #FFB7D5;
            --color-text-main: #555555;
            --color-text-dark: #222222;
            --color-white: #FFFFFF;
            --border-color: #A3B9D6;
            --shadow-soft: 0 10px 40px rgba(0,0,0,0.05);
            --shadow-hover: 0 20px 50px rgba(74, 144, 226, 0.2);
            --gradient-main: linear-gradient(90deg, #4c66b8, #e8a5c9);
        }

        * { 
            box-sizing: border-box; 
            margin: 0; 
            padding: 0; 
        }
        
        body {
            font-family: 'Roboto', sans-serif;
            background-color: var(--color-bg);
            color: var(--color-text-main);
            line-height: 1.5;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* --- HEADER --- */
        header {
            background: var(--color-white);
            padding: 1rem 5%;
            display: flex; 
            justify-content: space-between; 
            align-items: center;
            border-bottom: 1px solid rgba(0,0,0,0.05);
            box-shadow: 0 4px 15px rgba(0,0,0,0.02);
            position: sticky; 
            top: 0; 
            z-index: 1000;
        }
        .logo { 
            font-size: 1.6rem; 
            font-weight: 800; 
            color: var(--color-blue); 
            text-transform: uppercase; 
            letter-spacing: 1px; 
            text-decoration: none;
        }
        .logo span { 
            color: var(--color-pink); 
        }
        nav ul { 
            display: flex; 
            gap: 30px; 
            list-style: none; 
        }
        nav a { 
            text-decoration: none; 
            font-weight: 500; 
            font-size: 0.95rem; 
            color: var(--color-text-dark); 
            transition: 0.3s; 
        }
        nav a:hover { 
            color: var(--color-blue); 
        }
        
        .user-header-profile { 
            display: flex; 
            align-items: center; 
            gap: 15px; 
            cursor: pointer; 
        }
        .user-avatar { 
            width: 45px; 
            height: 45px; 
            border-radius: 50%; 
            background: linear-gradient(135deg, #a3b9d6, #e8a5c9); 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            color: white; 
        }
        .user-avatar svg { 
            width: 24px; 
            height: 24px; 
            fill: white; 
        }
        .user-name { 
            font-weight: 500; 
            color: var(--color-text-dark); 
            font-size: 0.95rem; 
        }

        /* --- LAYOUT --- */
        .profile-container { 
            display: flex; 
            gap: 50px; 
            max-width: 1400px; 
            margin: 40px auto; 
            padding: 0 5%; 
            width: 100%; 
            flex: 1; 
        }

        /* --- SIDEBAR --- */
        .sidebar { 
            width: 320px; 
            background: var(--color-white); 
            border-radius: 20px; 
            box-shadow: var(--shadow-soft); 
            align-self: flex-start; 
            padding: 30px 0; 
            border-left: 8px solid var(--color-blue); 
        }
        .menu-icon { 
            display: flex; 
            flex-direction: column; 
            gap: 6px; 
            padding: 0 30px 30px 30px; 
            border-bottom: 1px solid #f0f0f0; 
            margin-bottom: 20px; 
        }
        .menu-icon span { 
            display: block; 
            width: 40px; 
            height: 3px; 
            background-color: var(--color-blue); 
            border-radius: 2px; 
        }
        .sidebar-nav { 
            list-style: none; 
            display: flex; 
            flex-direction: column; 
        }
        .sidebar-nav li a { 
            display: flex; 
            align-items: center; 
            padding: 18px 30px; 
            text-decoration: none; 
            color: var(--color-text-main); 
            font-size: 1.1rem; 
            transition: 0.3s; 
        }
        .sidebar-nav li a:hover { 
            background-color: #F4F8FD; 
            color: var(--color-blue); 
        }
        .sidebar-nav li.active a { 
            color: var(--color-blue); 
            font-weight: 500; 
            background-color: #F4F8FD; 
        }
        .sidebar-nav li.logout a { 
            color: #E74C3C; 
            margin-top: 20px; 
            border-top: 1px solid #f0f0f0; 
        }

        /* --- PROFILE CONTENT (ФОРМА С АНИМАЦИЕЙ ЛЕЙБЛОВ) --- */
        .profile-content { 
            flex: 1; 
            max-width: 800px; 
        }
        .profile-form { 
            display: flex; 
            flex-direction: column; 
            gap: 35px; 
        }
        .input-wrapper { 
            position: relative; 
            width: 100%; 
            height: 60px; 
        }

        .custom-profile-input {
            width: 100%; 
            height: 60px; 
            padding: 0 20px;
            font-family: 'Roboto', sans-serif; 
            font-size: 1.1rem; 
            color: var(--color-text-dark);
            border: 1px solid var(--border-color); 
            border-radius: 12px;
            background: transparent; 
            outline: none; 
            transition: all 0.3s ease;
        }

        .custom-profile-label {
            position: absolute; 
            left: 20px; 
            top: 50%; 
            transform: translateY(-50%);
            background-color: transparent; 
            padding: 0 5px;
            color: #999; 
            font-size: 1.1rem; 
            font-weight: 400;
            pointer-events: none; 
            transition: all 0.3s ease;
        }

        /* Анимация: когда поле в фокусе ИЛИ заполнено */
        .custom-profile-input:focus, .custom-profile-input.filled {
            border-color: var(--color-blue);
        }
        .custom-profile-input:focus ~ .custom-profile-label, 
        .custom-profile-input.filled ~ .custom-profile-label {
            top: 0;
            background-color: var(--color-bg); 
            color: var(--color-blue-dark);
            font-size: 0.95rem;
        }

        .btn-save {
            width: 100%; 
            height: 65px; 
            border-radius: 12px; 
            background: var(--gradient-main);
            color: white; 
            font-size: 1.3rem; 
            font-weight: 400; 
            border: none; 
            cursor: pointer;
            transition: 0.3s; 
            margin-top: 20px; 
            box-shadow: 0 10px 20px rgba(76, 102, 184, 0.2);
            font-family: 'Roboto', sans-serif;
        }
        .btn-save:hover { 
            opacity: 0.9; 
            transform: translateY(-2px); 
        }

        @media (max-width: 900px) {
            .profile-container { flex-direction: column; }
            .sidebar { width: 100%; border-left: none; border-top: 8px solid var(--color-blue); padding: 20px 0; }
            .menu-icon, header nav, .user-name { display: none; }
        }

        /* Стили для списка заявок */
        .requests-list { 
            display: flex; 
            flex-direction: column; 
            gap: 20px; 
        }

        .request-card {
            background: white;
            border: 1.5px solid var(--color-blue);
            border-radius: 20px;
            overflow: hidden;
            transition: 0.3s;
        }

        .request-card:hover { 
            box-shadow: var(--shadow-hover); 
        }

        .request-header {
            padding: 25px 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
        }

        .request-title { 
            font-size: 1.2rem; 
            color: var(--color-text-dark); 
            font-weight: 500; 
        }

        .request-status-info { 
            display: flex; 
            align-items: center; 
            gap: 15px; 
            color: var(--color-text-main); 
        }

        .chevron-icon {
            width: 20px; 
            height: 20px; 
            fill: var(--color-blue);
            transition: transform 0.3s;
        }

        /* Анимация раскрытия */
        .request-card.active .chevron-icon { 
            transform: rotate(180deg); 
        }

        .request-body {
            max-height: 0;
            opacity: 0;
            overflow: hidden;
            transition: all 0.4s ease;
            padding: 0 30px;
            border-top: 1px solid transparent;
        }

        .request-card.active .request-body {
            max-height: 1000px;
            opacity: 1;
            padding: 20px 30px 40px;
            border-top: 1px solid #f0f0f0;
        }
