
body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 140px 40px 80px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a8a, #000000);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 20px;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    font-size: 20px;
    font-weight: 600;
    color: black;
}

.logout-btn {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: black;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* Grid Layout */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
}

/* Section Styles */
.section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.section + .section {
    margin-top: 24px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: black;
}

/* License Sections */
.verify-form {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.verify-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.verify-input:focus {
    outline: none;
    border-color: #1e3a8a;
}

.verify-btn {
    background: linear-gradient(135deg, #1e3a8a, #000000);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.verify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
}

.message {
    padding: 10px 14px;
    border-radius: 8px;
    margin-top: 12px;
    font-size: 13px;
}

.success-message {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.hidden {
    display: none;
}

.licenses-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.license-item {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
}

.license-item:hover {
    border-color: #1e3a8a;
}

.license-type {
    display: inline-block;
    background: linear-gradient(135deg, #1e3a8a, #000000);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.license-key {
    font-family: 'Courier New', monospace;
    background: rgba(0, 0, 0, 0.05);
    padding: 10px 12px;
    border-radius: 8px;
    margin: 10px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
}

.license-key:hover {
    background: rgba(0, 0, 0, 0.1);
}

.action-btn {
    width: 100%;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #1e3a8a, #000000);
    color: white;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(30, 58, 138, 0.3);
}

.action-btn.locked {
    background: rgba(0, 0, 0, 0.2);
    cursor: not-allowed;
}

/* Chat Section */
.chat-section {
    height: calc(100vh - 300px);
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    margin-bottom: 16px;
}

.chat-msg {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a8a, #000000);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.chat-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.chat-body {
    background: white;
    border-radius: 10px;
    padding: 8px 12px;
    max-width: 75%;
}

.chat-header {
    font-size: 12px;
    font-weight: 700;
    color: black;
    margin-bottom: 4px;
}

.chat-time {
    font-size: 10px;
    color: rgba(0, 0, 0, 0.5);
    margin-left: 6px;
}

.chat-content {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.85);
    word-break: break-word;
}

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

.chat-input {
    flex: 1;
    padding: 12px 14px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

.chat-input:focus {
    border-color: #1e3a8a;
}

.chat-send-btn {
    background: linear-gradient(135deg, #1e3a8a, #000000);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
}

.chat-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.empty-state {
    text-align: center;
    padding: 32px 20px;
    color: rgba(0, 0, 0, 0.5);
}

.empty-state i {
    font-size: 36px;
    margin-bottom: 12px;
}

.discord-verify-banner {
    background: rgba(88, 101, 242, 0.1);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 2px solid rgba(88, 101, 242, 0.3);
    text-align: center;
}

.discord-verify-banner i {
    color: #5865f2;
    font-size: 28px;
    margin-bottom: 10px;
}

.discord-verify-banner h3 {
    margin-bottom: 6px;
    font-size: 16px;
}

.discord-verify-banner p {
    color: rgba(0, 0, 0, 0.6);
    font-size: 13px;
    margin-bottom: 14px;
}

.discord-btn {
    background: #5865f2;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.discord-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: #1e3a8a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .chat-section {
        height: 400px;
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .dashboard-container {
        padding: 120px 20px 60px;
    }

    .verify-form {
        flex-direction: column;
    }
}
