:root {
    --primary-blue: #1B4E9B;
    --primary-raspberry: #940A4E;
    --accent-orange: #F47920;
    --accent-green: #00A859;
    --accent-purple: #7B2D8E;
    --text-dark: #1a1a2e;
    --text-gray: #666;
    --bg-light: #f8f9fc;
    --white: #ffffff;
    --tg-theme-bg-color: var(--bg-light);
    --tg-theme-text-color: var(--text-dark);
}

/* ========================================
   3D VOLUMETRIC ICONS
   ======================================== */

/* Base 3D Icon Styles */
.nav-icon, .stat-icon, .status-icon, .card-icon, .btn-icon, .section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Navigation Icons */
.nav-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 4px;
    border-radius: 8px;
    background: linear-gradient(145deg, #e8f0ff, #d0dff5);
    box-shadow: 
        3px 3px 6px rgba(27, 78, 155, 0.15),
        -2px -2px 5px rgba(255, 255, 255, 0.8),
        inset 1px 1px 2px rgba(255, 255, 255, 0.6);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-tab.active .nav-icon {
    background: linear-gradient(145deg, var(--primary-blue), #2a5fad);
    box-shadow: 
        0 4px 12px rgba(27, 78, 155, 0.35),
        inset 1px 1px 2px rgba(255, 255, 255, 0.3);
}

.nav-icon::before {
    content: '';
    width: 14px;
    height: 14px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(0.4) sepia(1) hue-rotate(190deg);
    transition: filter 0.3s;
}

.nav-tab.active .nav-icon::before {
    filter: brightness(10);
}

/* Icon SVG Masks */
.icon-home::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231B4E9B'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E");
}

.icon-info::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231B4E9B'%3E%3Cpath d='M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z'/%3E%3C/svg%3E");
}

.icon-chat::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231B4E9B'%3E%3Cpath d='M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z'/%3E%3C/svg%3E");
}

.icon-admin::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231B4E9B'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}

/* Stat Card Icons */
.stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    border-radius: 14px;
    background: linear-gradient(145deg, #fff, #f0f4f8);
    box-shadow: 
        5px 5px 15px rgba(0, 0, 0, 0.08),
        -5px -5px 15px rgba(255, 255, 255, 1),
        inset 2px 2px 4px rgba(255, 255, 255, 0.9);
}

.stat-icon::before {
    content: '';
    width: 26px;
    height: 26px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-university::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231B4E9B'%3E%3Cpath d='M12 3L1 9l4 2.18v6L12 21l7-3.82v-6l2-1.09V17h2V9L12 3zm6.82 6L12 12.72 5.18 9 12 5.28 18.82 9zM17 15.99l-5 2.73-5-2.73v-3.72L12 15l5-2.73v3.72z'/%3E%3C/svg%3E");
}

.icon-diploma::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23940A4E'%3E%3Cpath d='M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3L1 9l11 6 9-4.91V17h2V9L12 3z'/%3E%3C/svg%3E");
}

.icon-map::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F47920'%3E%3Cpath d='M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM15 19l-6-2.11V5l6 2.11V19z'/%3E%3C/svg%3E");
}

/* Status Icons */
.status-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(145deg, #fff, #f5f7fa);
    box-shadow: 
        8px 8px 25px rgba(0, 0, 0, 0.1),
        -8px -8px 25px rgba(255, 255, 255, 1),
        inset 3px 3px 6px rgba(255, 255, 255, 0.9);
}

.status-icon::before {
    content: '';
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-handshake::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231B4E9B'%3E%3Cpath d='M12.22 19.85c-.18.18-.5.21-.71 0L6.92 15.3c-.18-.18-.18-.5 0-.68l.71-.68 2.47 2.39c.35.34.92.34 1.27 0l6.27-6.05c.35-.34.35-.88 0-1.22l-3.39-3.29c-.35-.34-.92-.34-1.27 0L9.12 9.45l-.71-.68c-.18-.18-.18-.5 0-.68L12.51 4c.35-.34.92-.34 1.27 0l4.58 4.43c.35.34.35.88 0 1.22L12.22 15c-.35.34-.35.88 0 1.22l.53.51-.53.51c-.18.18-.18.5 0 .68l.53.51-.53.51c-.18.18-.18.5 0 .68l.53.51c-.18.22-.35.22-.53.22z'/%3E%3C/svg%3E");
}

.icon-pending {
    background: linear-gradient(145deg, #fff9e6, #fff3cc);
}

.icon-pending::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F47920'%3E%3Cpath d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z'/%3E%3C/svg%3E");
}

.icon-approved {
    background: linear-gradient(145deg, #e8fff0, #d4f5e3);
}

.icon-approved::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300A859'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}

.icon-celebration {
    background: linear-gradient(145deg, #fff0f5, #ffe4ec);
}

.icon-celebration::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23940A4E'%3E%3Cpath d='M2 22l14-5-9-9zm12.53-9.47l5.59-5.59c.39-.39.39-1.02 0-1.41l-2.12-2.12c-.39-.39-1.02-.39-1.41 0l-5.59 5.59 3.53 3.53zM17.5 11c.83 0 1.5-.67 1.5-1.5 0-.5-.26-.94-.64-1.21L21 5.65l-1.41-1.41-2.64 2.64c-.27-.38-.71-.64-1.21-.64-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5c.5 0 .94-.26 1.21-.64L19.59 11H17.5z'/%3E%3C/svg%3E");
}

/* Card Icons */
.card-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 15px;
    border-radius: 16px;
    background: linear-gradient(145deg, #e8f4ff, #d0e4f5);
    box-shadow: 
        5px 5px 15px rgba(27, 78, 155, 0.12),
        -5px -5px 15px rgba(255, 255, 255, 0.9),
        inset 2px 2px 4px rgba(255, 255, 255, 0.8);
}

.card-icon::before {
    content: '';
    width: 28px;
    height: 28px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-graduation::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231B4E9B'%3E%3Cpath d='M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3L1 9l11 6 9-4.91V17h2V9L12 3z'/%3E%3C/svg%3E");
}

.icon-trophy::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F47920'%3E%3Cpath d='M19 5h-2V3H7v2H5c-1.1 0-2 .9-2 2v1c0 2.55 1.92 4.63 4.39 4.94.63 1.5 1.98 2.63 3.61 2.96V19H7v2h10v-2h-4v-3.1c1.63-.33 2.98-1.46 3.61-2.96C19.08 12.63 21 10.55 21 8V7c0-1.1-.9-2-2-2zM5 8V7h2v3.82C5.84 10.4 5 9.3 5 8zm14 0c0 1.3-.84 2.4-2 2.82V7h2v1z'/%3E%3C/svg%3E");
}

.icon-partners::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23940A4E'%3E%3Cpath d='M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z'/%3E%3C/svg%3E");
}

/* Button Icons */
.btn-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.btn-icon::before {
    content: '';
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(10);
}

.icon-send::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M2.01 21L23 12 2.01 3 2 10l15 2-15 2z'/%3E%3C/svg%3E");
}

.icon-document::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z'/%3E%3C/svg%3E");
}

/* Section Header Icons */
.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.section-header h2 {
    margin: 0;
}

.section-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(145deg, #e8f4ff, #d0e4f5);
    box-shadow: 
        5px 5px 15px rgba(27, 78, 155, 0.12),
        -5px -5px 15px rgba(255, 255, 255, 0.9);
}

.section-icon::before {
    content: '';
    width: 26px;
    height: 26px;
    background-size: contain;
    background-repeat: no-repeat;
}

.icon-support::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231B4E9B'%3E%3Cpath d='M21 6h-2V4.33C19 3.6 18.62 3 18 3h-2c-.62 0-1 .6-1 1.33V6H9V4.33C9 3.6 8.62 3 8 3H6c-.62 0-1 .6-1 1.33V6H3c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM3 20c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-3c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v3zm10-11h-2v3H8v2h3v3h2v-3h3v-2h-3z'/%3E%3C/svg%3E");
}

.icon-settings::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231B4E9B'%3E%3Cpath d='M19.14 12.94c.04-.31.06-.63.06-.94 0-.31-.02-.63-.06-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.04.31-.06.63-.06.94s.02.63.06.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z'/%3E%3C/svg%3E");
}

/* Animations */
@keyframes pulse3d {
    0%, 100% {
        box-shadow: 
            8px 8px 25px rgba(244, 121, 32, 0.15),
            -8px -8px 25px rgba(255, 255, 255, 1),
            inset 3px 3px 6px rgba(255, 255, 255, 0.9);
    }
    50% {
        box-shadow: 
            12px 12px 35px rgba(244, 121, 32, 0.25),
            -8px -8px 25px rgba(255, 255, 255, 1),
            inset 3px 3px 6px rgba(255, 255, 255, 0.9);
    }
}

@keyframes bounce3d {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.animated-pulse {
    animation: pulse3d 2s infinite ease-in-out;
}

.animated-bounce {
    animation: bounce3d 2s infinite ease-in-out;
}

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

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.5;
    min-height: 100vh;
    padding-bottom: 80px;
}

#app {
    max-width: 100%;
    overflow-x: hidden;
}

/* Header */
.header {
    background: linear-gradient(135deg, #ffffff, #f0f4f8);
    color: var(--text-dark);
    padding: 15px 10px;
    text-align: center;
    border-bottom: 3px solid var(--primary-blue);
}

.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-img.logo-wide {
    height: 30px;
}

.logo-divider {
    width: 1px;
    height: 35px;
    background: rgba(27, 78, 155, 0.3);
}

/* Navigation */
.nav-tabs {
    display: flex;
    background: var(--white);
    border-bottom: 2px solid var(--bg-light);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 10px;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    gap: 2px;
}

.nav-tab.active {
    color: var(--primary-blue);
    border-bottom: 3px solid var(--primary-blue);
    margin-bottom: -2px;
}

.nav-tab.admin-only {
    display: none;
}

.nav-tab.admin-only.visible {
    display: block;
}

/* Pages */
.page {
    display: none;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero */
.hero {
    text-align: center;
    padding: 30px 0 20px;
}

.hero h1 {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.hero p {
    font-size: 13px;
    color: var(--text-gray);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 20px 0;
}

.stat-card {
    background: var(--white);
    border-radius: 14px;
    padding: 18px 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.stat-number {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-raspberry);
}

.stat-label {
    font-size: 10px;
    color: var(--text-gray);
    font-weight: 500;
}

/* Status Section */
.status-section {
    margin-top: 25px;
}

.status-view {
    background: var(--white);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
}

.status-view h3 {
    font-size: 17px;
    margin-bottom: 10px;
}

.status-view p {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.pending-badge, .approved-badge, .completed-badge {
    font-size: 50px;
    margin-bottom: 15px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), #2a5fad);
    color: var(--white);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-dark);
}

.btn-success {
    background: linear-gradient(135deg, var(--accent-green), #00c96b);
    color: var(--white);
}

.btn-send {
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
    background: var(--primary-blue);
    color: var(--white);
    font-size: 18px;
}

/* Info Cards */
.info-card {
    background: var(--white);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.info-card h3 {
    font-size: 15px;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

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

/* Partner Levels */
.partner-levels {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.level-card {
    padding: 15px;
    border-radius: 12px;
    border-left: 4px solid;
}

.level-card.green {
    background: linear-gradient(135deg, rgba(0,168,89,0.1), rgba(0,168,89,0.05));
    border-color: var(--accent-green);
}

.level-card.orange {
    background: linear-gradient(135deg, rgba(244,121,32,0.1), rgba(244,121,32,0.05));
    border-color: var(--accent-orange);
}

.level-card.raspberry {
    background: linear-gradient(135deg, rgba(148,10,78,0.1), rgba(148,10,78,0.05));
    border-color: var(--primary-raspberry);
}

.level-card h4 {
    font-size: 13px;
    margin-bottom: 8px;
}

.level-card ul {
    list-style: none;
    font-size: 11px;
    color: var(--text-gray);
}

.level-card li {
    padding: 3px 0;
    padding-left: 15px;
    position: relative;
}

.level-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
}

/* Chat */
.chat-hint {
    font-size: 12px;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 15px;
}

.chat-messages {
    background: var(--white);
    border-radius: 16px;
    padding: 15px;
    height: 300px;
    overflow-y: auto;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.message {
    margin-bottom: 15px;
}

.message.bot .message-content {
    background: var(--bg-light);
    border-radius: 16px 16px 16px 4px;
    padding: 12px 15px;
    font-size: 13px;
    display: inline-block;
    max-width: 85%;
}

.message.user {
    text-align: right;
}

.message.user .message-content {
    background: linear-gradient(135deg, var(--primary-blue), #2a5fad);
    color: var(--white);
    border-radius: 16px 16px 4px 16px;
    padding: 12px 15px;
    font-size: 13px;
    display: inline-block;
    max-width: 85%;
}

.chat-input-container {
    display: flex;
    gap: 10px;
}

.chat-input-container input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 25px;
    background: var(--white);
    font-family: inherit;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Admin */
.admin-requests {
    background: var(--white);
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 20px;
}

.request-card {
    padding: 15px;
    border-bottom: 1px solid var(--bg-light);
}

.request-card:last-child {
    border-bottom: none;
}

.request-info {
    font-size: 13px;
    margin-bottom: 10px;
}

.request-actions {
    display: flex;
    gap: 10px;
}

.request-actions button {
    padding: 8px 16px;
    font-size: 12px;
}

.admin-section {
    background: var(--white);
    border-radius: 16px;
    padding: 20px;
}

.admin-section h3 {
    font-size: 14px;
    margin-bottom: 15px;
}

.admin-section input {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--bg-light);
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 10px;
}

/* Registration Form */
.form-step {
    background: var(--white);
    border-radius: 16px;
    padding: 25px 20px;
    margin-bottom: 15px;
}

.form-step h3 {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.status-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.status-option {
    cursor: pointer;
}

.status-option input {
    display: none;
}

.option-card {
    padding: 18px;
    border-radius: 14px;
    border: 3px solid transparent;
    transition: all 0.2s;
}

.option-card h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

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

.status-option input:checked + .option-card {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 20px rgba(27,78,155,0.2);
}

.option-card.green {
    background: linear-gradient(135deg, rgba(0,168,89,0.1), rgba(0,168,89,0.02));
}

.option-card.orange {
    background: linear-gradient(135deg, rgba(244,121,32,0.1), rgba(244,121,32,0.02));
}

.option-card.raspberry {
    background: linear-gradient(135deg, rgba(148,10,78,0.1), rgba(148,10,78,0.02));
}

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

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--bg-light);
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

/* Contribution Section */
.contribution-section {
    margin-bottom: 20px;
}

.contribution-section h4 {
    font-size: 13px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--bg-light);
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    cursor: pointer;
    font-size: 13px;
}

.checkbox-item input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: var(--primary-blue);
}

.checkbox-item.signature {
    background: linear-gradient(135deg, #fff3e6, #ffebdb);
    padding: 15px;
    border-radius: 12px;
    font-size: 12px;
}

.integrations-list {
    max-height: 350px;
    overflow-y: auto;
}

.integration-category {
    margin-bottom: 20px;
}

.integration-category h4 {
    font-size: 13px;
    color: var(--primary-raspberry);
    margin-bottom: 10px;
}

.summary-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
}

.summary-card h4 {
    font-size: 14px;
    margin-bottom: 12px;
}

.summary-item {
    font-size: 12px;
    padding: 6px 0;
    border-bottom: 1px dashed #ddd;
}

.summary-item:last-child {
    border-bottom: none;
}

.signature-section {
    margin: 20px 0;
}

/* Loading */
.loading {
    text-align: center;
    padding: 30px;
    color: var(--text-gray);
    font-size: 13px;
}

/* Disabled integrations */
.checkbox-item.disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* INN Lookup Styles */
.inn-input-wrapper {
    display: flex;
    gap: 10px;
}

.inn-input-wrapper input {
    flex: 1;
}

.btn-search {
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--accent-orange), #ff8c42);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.btn-search:active {
    transform: scale(0.98);
}

.inn-status {
    margin-top: 8px;
    font-size: 13px;
}

.inn-status .error {
    color: #e74c3c;
}

.inn-status .loading {
    color: var(--accent-orange);
}

/* Company Data Card */
.company-data-card {
    background: linear-gradient(135deg, #e8fff0, #d4f5e3);
    border-radius: 16px;
    padding: 20px;
    margin: 15px 0;
    border: 2px solid var(--accent-green);
}

.company-header {
    margin-bottom: 15px;
}

.company-badge {
    display: inline-block;
    background: var(--accent-green);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.company-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.info-label {
    font-size: 11px;
    color: var(--text-gray);
    font-weight: 600;
}

.info-value {
    font-size: 14px;
    color: var(--text-dark);
    word-break: break-word;
}

/* Section Headers - Fix visibility */
.section-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-blue);
}

/* Form Step Headers - Fix visibility */
.form-step h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 20px;
    text-align: center;
}

/* Info Card Headers - Fix visibility */
.info-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

/* Page Headers */
.page h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.modal-content p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.modal-content .input {
    margin-bottom: 20px;
    text-align: left;
}

.modal-buttons {
    display: flex;
    gap: 10px;
}

.modal-buttons .btn {
    flex: 1;
}
