/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
}

.header-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.logo i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 2s infinite;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


.subtitle {
    font-size: 1.1rem;
    color: #666;
    font-weight: 400;
}

/* Navigation Tabs */
.nav-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 8px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    gap: 5px;
    overflow-x: auto;
}

.nav-tab {
    flex: 1;
    min-width: 180px;
    padding: 15px 20px;
    border: none;
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
    color: #666;
    font-size: 0.95rem;
}

.nav-tab:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    transform: translateY(-2px);
}

.nav-tab.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.nav-tab i {
    font-size: 1.1rem;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

/* Card Styles */
.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    margin-bottom: 30px;
}

.card-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 30px;
    text-align: center;
}

.card-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.card-header p {
    font-size: 1rem;
    opacity: 0.9;
}

.card-body {
    padding: 40px;
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: #667eea;
    width: 16px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.help-text {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

/* Button Styles */
.btn-primary,
.btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    width: 100%;
    margin-top: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border: 2px solid #667eea;
    margin-top: 10px;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Result Section */
.result-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #f0f4f8;
}

.result-card {
    background: rgba(248, 250, 252, 0.8);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 4px solid #667eea;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.result-card h3 {
    color: #667eea;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.json-display {
    background: #1e1e2e;
    color: #cdd6f4;
    padding: 20px;
    border-radius: 12px;
    font-family: 'Fira Code', 'Monaco', monospace;
    font-size: 0.9rem;
    overflow-x: auto;
    white-space: pre-wrap;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.dm-variant {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #667eea;
    position: relative;
}

.dm-variant .char-count {
    position: absolute;
    top: 10px;
    right: 15px;
    background: #667eea;
    color: white;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.offer-card {
    background: rgba(102, 126, 234, 0.05);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
}

.offer-card h4 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* Metrics Preview */
.metrics-preview {
    background: rgba(102, 126, 234, 0.05);
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.metrics-preview h3 {
    margin-bottom: 20px;
    color: #667eea;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000;
}

.loading-overlay.active {
    display: flex;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-overlay p {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 0;
    color: rgba(255, 255, 255, 0.8);
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 15px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .header-content {
        padding: 25px 20px;
    }

    .header-top {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .logo h1 {
        font-size: 2rem;
    }


    .nav-tabs {
        flex-direction: column;
        gap: 5px;
    }

    .nav-tab {
        min-width: auto;
        padding: 12px 15px;
    }

    .card-body {
        padding: 25px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .json-display {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 20px 15px;
    }

    .logo {
        flex-direction: column;
        gap: 10px;
    }

    .logo h1 {
        font-size: 1.8rem;
    }

    .card-header h2 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 8px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.5);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.7);
}

/* JSON Syntax Highlighting */
.json-key {
    color: #89b4fa;
}

.json-string {
    color: #a6e3a1;
}

.json-number {
    color: #fab387;
}

.json-boolean {
    color: #f38ba8;
}

.json-null {
    color: #7f849c;
}

/* Copy Button */
.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(102, 126, 234, 0.8);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: #667eea;
    transform: scale(1.05);
}

/* Success Message */
.success-message {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Content Display Styles */
.content-section {
    margin-bottom: 30px;
    background: rgba(248, 250, 252, 0.6);
    border-radius: 15px;
    padding: 25px;
    border-left: 4px solid #667eea;
}

.content-section h4 {
    color: #667eea;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Hooks Grid */
.hooks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.hook-item {
    background: white;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.hook-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
}

.hook-number {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.hook-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #333;
}

/* Scripts Container */
.scripts-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.script-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.script-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.script-duration {
    background: #667eea;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.script-lines {
    padding: 20px;
}

.script-line {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    align-items: flex-start;
}

.script-line:last-child {
    margin-bottom: 0;
}

.line-number {
    color: #667eea;
    font-weight: 600;
    min-width: 25px;
    font-size: 0.9rem;
}

.line-text {
    flex: 1;
    line-height: 1.5;
    color: #333;
}

/* Captions Container */
.captions-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.caption-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.caption-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.caption-label {
    font-weight: 600;
    color: #667eea;
}

.caption-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.char-count {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.caption-text {
    padding: 20px;
    line-height: 1.6;
    color: #333;
}

/* Hashtags Container */
.hashtags-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hashtag-set {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.hashtag-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.set-label {
    font-weight: 600;
    color: #667eea;
}

.hashtag-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hashtag-tag {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    color: #667eea;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
}

.hashtag-tag:hover {
    background: #667eea;
    color: white;
    transform: translateY(-1px);
}

/* Copy Item Button */
.copy-item-btn {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border: none;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    height: 35px;
}

.copy-item-btn:hover {
    background: #667eea;
    color: white;
    transform: scale(1.05);
}

.copy-item-btn.copied {
    background: #10b981;
    color: white;
}

/* Export Section */
.export-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(102, 126, 234, 0.1);
    text-align: center;
}

.btn-export {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.btn-export:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Enhanced DM Form Styles */
.profile-analysis-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    border-left: 4px solid #667eea;
}

.profile-analysis-section h3 {
    color: #667eea;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
}

.section-description {
    color: #666;
    font-style: italic;
    margin: 0;
}

.form-section {
    background: rgba(248, 250, 252, 0.6);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.form-section h4 {
    color: #667eea;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 2px solid rgba(102, 126, 234, 0.1);
    padding-bottom: 10px;
}

/* Analysis and Suggestion Boxes */
.analysis-box {
    background: rgba(102, 126, 234, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 10px;
    padding: 15px;
    margin-top: 10px;
    display: none;
}

.analysis-box.show {
    display: block;
    animation: slideDown 0.3s ease;
}

.suggestions-box {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 10px;
    padding: 15px;
    margin-top: 10px;
    display: none;
}

.suggestions-box.show {
    display: block;
    animation: slideDown 0.3s ease;
}

.smart-suggestions-section {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(5, 150, 105, 0.05));
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    border-left: 4px solid #10b981;
}

.smart-suggestions-section h4 {
    color: #10b981;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}

/* Creator Type Badges */
.creator-type-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin: 5px 5px 5px 0;
}

.engagement-score {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 8px 15px;
    border-radius: 25px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 10px 0;
}

/* Suggestion Cards */
.suggestion-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #10b981;
}

.suggestion-card h5 {
    color: #10b981;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.suggestion-card p {
    color: #333;
    line-height: 1.5;
    margin: 0;
}

/* Match Score */
.match-score {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    text-align: center;
    margin: 15px 0;
    font-size: 1.1rem;
}

.match-score.high {
    background: linear-gradient(135deg, #10b981, #059669);
}

.match-score.medium {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.match-score.low {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

/* Industry Match Indicator */
.industry-match {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    margin: 10px 0;
}

.industry-match.perfect {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.industry-match.good {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.industry-match.poor {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Offer Template Buttons */
.offer-templates {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.template-btn {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border: 1px solid rgba(102, 126, 234, 0.3);
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.template-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-1px);
}

/* Responsive Design for Enhanced DM Form */
@media (max-width: 768px) {
    .form-section {
        padding: 20px 15px;
    }

    .profile-analysis-section {
        padding: 20px 15px;
    }

    .smart-suggestions-section {
        padding: 20px 15px;
    }

    .offer-templates {
        gap: 8px;
    }

    .template-btn {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}

/* Responsive Design for Content Display */
@media (max-width: 768px) {
    .hooks-grid {
        grid-template-columns: 1fr;
    }

    .content-section {
        padding: 20px 15px;
    }

    .script-header,
    .caption-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .caption-actions {
        gap: 10px;
    }

    .hashtag-tags {
        gap: 6px;
    }

    .hashtag-tag {
        font-size: 0.85rem;
        padding: 5px 10px;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Header Actions */
.header-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.pricing-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.pricing-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
}

.account-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.account-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.pricing-link i {
    font-size: 1rem;
}


/* User Information Card */
.user-info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 16px;
    min-width: 280px;
    max-width: 320px;
}

.user-info-card.clickable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-info-card.clickable:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.user-info-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-info-header i {
    font-size: 20px;
    color: #4F46E5;
}

.info-title {
    font-weight: 600;
    color: black;
    font-size: 14px;
}

.user-info-content {
    margin-bottom: 12px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.info-label {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.7);
    font-weight: 500;
}

.info-value {
    font-size: 12px;
    color: black;
    font-weight: 600;
    text-align: right;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.info-value.plan-free {
    color: #10B981;
}

.info-value.plan-pro {
    color: #F59E0B;
}

.info-value.plan-enterprise {
    color: #8B5CF6;
}

.user-info-actions {
    display: flex;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.info-action-btn {
    flex: 1;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    color: black;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.info-action-btn:hover {
    background: rgba(0, 0, 0, 0.2);
    color: black;
}

.info-action-btn i {
    font-size: 10px;
}

@media (max-width: 768px) {
    .user-info-card {
        min-width: 250px;
        max-width: 280px;
        padding: 12px;
    }
    
    .info-item {
        margin-bottom: 6px;
    }
    
    .info-label, .info-value {
        font-size: 11px;
    }
}

