/* ========================================
   AI Sports Coach - CSS Styles
   Modern Red + Black Sports Theme
   ======================================== */

/* CSS Variables */
:root {
    --primary-red: #ff1a1a;
    --primary-red-dark: #cc0000;
    --primary-red-light: #ff4d4d;
    --black: #0a0a0a;
    --dark-gray: #1a1a1a;
    --medium-gray: #2d2d2d;
    --light-gray: #404040;
    --white: #ffffff;
    --text-gray: #b3b3b3;
    --text-light: #e6e6e6;
    --success: #00cc66;
    --warning: #ffaa00;
    --error: #ff3333;
    --gradient-red: linear-gradient(135deg, #ff1a1a 0%, #cc0000 100%);
    --shadow-glow: 0 0 30px rgba(255, 26, 26, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--primary-red);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: var(--primary-red-light);
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 26, 26, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
}

.logo i {
    color: var(--primary-red);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-red);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(255, 26, 26, 0.5);
    color: var(--white);
}

.btn-secondary {
    background: var(--dark-gray);
    color: var(--white);
    border: 2px solid var(--light-gray);
}

.btn-secondary:hover {
    border-color: var(--primary-red);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--primary-red);
}

.btn-outline:hover {
    background: var(--primary-red);
    color: var(--white);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-nav {
    background: var(--gradient-red);
    color: var(--white);
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 50%, rgba(255, 26, 26, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255, 26, 26, 0.05) 0%, transparent 40%);
}

.hero-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, var(--black) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 26, 26, 0.15);
    border: 1px solid rgba(255, 26, 26, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary-red);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--text-gray) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
}

.hero h1 span {
    background: var(--gradient-red);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 50px;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-red);
    display: block;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    text-transform: uppercase;
}

/* Dashboard Page */
.dashboard-page {
    padding-top: 80px;
}

.dashboard-main {
    padding: 40px 0;
    min-height: 100vh;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-header h1 {
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-gray);
}

.text-gradient {
    background: var(--gradient-red);
    -webkit-background-clip: text;
    background-clip: text;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

/* Form Styles */
.form-card {
    background: var(--dark-gray);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.form-header i {
    font-size: 1.5rem;
    color: var(--primary-red);
}

.form-header h2 {
    font-size: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 10px;
}

.form-group label i {
    color: var(--primary-red);
    width: 16px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: var(--black);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 1rem;
    transition: 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-red);
}

.form-control::placeholder {
    color: var(--text-gray);
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23b3b3b3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
}

/* Plan Page */
.plan-page {
    padding-top: 80px;
}

.plan-main {
    padding: 40px 0;
    min-height: 100vh;
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-info h1 {
    margin-bottom: 16px;
}

.plan-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
}

.meta-item i {
    color: var(--primary-red);
}

.plan-actions {
    display: flex;
    gap: 16px;
}

.plan-content {
    margin-bottom: 40px;
}

.plan-card {
    background: var(--dark-gray);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.plan-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.plan-card-header i {
    font-size: 1.5rem;
    color: var(--primary-red);
}

.plan-text {
    color: var(--text-light);
    line-height: 1.8;
    white-space: pre-wrap;
}

.plan-text h2 {
    color: var(--primary-red);
    margin-top: 30px;
    margin-bottom: 15px;
}

.plan-text h3 {
    color: var(--white);
    margin-top: 25px;
    margin-bottom: 12px;
}

.plan-text ul, .plan-text ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.plan-text li {
    margin-bottom: 8px;
}

.plan-text strong {
    color: var(--white);
}

/* Chat Page */
.chat-page {
    padding-top: 80px;
}

.chat-main {
    padding: 40px 0;
    min-height: calc(100vh - 80px);
}

.chat-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--dark-gray);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 200px);
}

.chat-header {
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.chat-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.chat-avatar i {
    font-size: 1.5rem;
    color: var(--white);
}

.online-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: var(--success);
    border-radius: 50%;
    border: 2px solid var(--dark-gray);
}

.chat-header h2 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.chat-header p {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin: 0;
}

.chat-messages {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.message {
    display: flex;
    gap: 15px;
    max-width: 85%;
}

.message.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message.bot-message {
    align-self: flex-start;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-message .message-avatar {
    background: var(--gradient-red);
}

.bot-message .message-avatar {
    background: var(--medium-gray);
    border: 2px solid var(--primary-red);
}

.message-avatar i {
    font-size: 1rem;
}

.message-content {
    background: var(--medium-gray);
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    border-top-left-radius: var(--radius-sm);
}

.user-message .message-content {
    background: rgba(255, 26, 26, 0.15);
    border: 1px solid rgba(255, 26, 26, 0.3);
}

.message-content.error {
    border-color: var(--error);
    background: rgba(255, 51, 51, 0.1);
}

.message-content p {
    margin-bottom: 10px;
    color: var(--text-light);
}

.message-content p:last-child {
    margin-bottom: 0;
}

.message-content ul {
    margin-left: 20px;
    margin-top: 10px;
}

.message-content li {
    margin-bottom: 5px;
    color: var(--text-light);
}

.suggested-topics {
    list-style: none;
    margin: 15px 0;
}

.suggested-topics button {
    background: var(--black);
    border: 1px solid var(--light-gray);
    color: var(--text-light);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    cursor: pointer;
    margin: 5px;
    transition: 0.3s;
    font-size: 0.9rem;
}

.suggested-topics button:hover {
    border-color: var(--primary-red);
    color: var(--white);
}

.typing-text {
    color: var(--text-gray);
    font-style: italic;
}

/* Chat Input */
.chat-input-container {
    padding: 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-input-form {
    display: flex;
    gap: 15px;
}

.input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--black);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-lg);
    padding: 0 15px;
    transition: 0.3s;
}

.input-wrapper:focus-within {
    border-color: var(--primary-red);
}

.input-wrapper input {
    flex: 1;
    padding: 14px 0;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1rem;
}

.input-wrapper input:focus {
    outline: none;
}

.input-wrapper input::placeholder {
    color: var(--text-gray);
}

.btn-emoji, .btn-send {
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    padding: 8px;
    transition: 0.3s;
}

.btn-send {
    color: var(--primary-red);
}

.btn-emoji:hover, .btn-send:hover {
    color: var(--white);
}

/* Quick Questions */
.quick-questions {
    padding: 15px 30px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.quick-questions > span {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 12px;
    display: block;
}

.question-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.question-tags button {
    background: var(--black);
    border: 1px solid var(--light-gray);
    color: var(--text-gray);
    padding: 8px 14px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: 0.3s;
}

.question-tags button:hover {
    border-color: var(--primary-red);
    color: var(--white);
}

/* Typing Indicator */
.typing-message .message-content {
    padding: 12px 20px;
}

.typing-dots {
    display: flex;
    gap: 5px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: var(--primary-red);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }
.typing-dots span:nth-child(3) { animation-delay: 0s; }

@keyframes typing {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
}

.loading-overlay.hidden {
    display: none;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid var(--dark-gray);
    border-top: 4px solid var(--primary-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: var(--white);
    margin-top: 20px;
    font-size: 18px;
}

/* Profile Page */


.profile-main {
    padding: 40px 0;
}

.profile-header {
    background: var(--dark-gray);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    background: var(--gradient-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: var(--shadow-glow);
}

.profile-info h2 {
    margin-bottom: 8px;
}

.profile-info p {
    color: var(--text-gray);
    margin-bottom: 16px;
}

.profile-badges {
    display: flex;
    gap: 10px;
}

.profile-badge {
    background: rgba(255, 26, 26, 0.15);
    border: 1px solid rgba(255, 26, 26, 0.3);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary-red);
}

/* Footer */
.footer {
    background: var(--dark-gray);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: var(--text-gray);
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .plan-header {
        flex-direction: column;
        gap: 20px;
    }

    .plan-actions {
        width: 100%;
    }

    .plan-actions .btn {
        flex: 1;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-badges {
        justify-content: center;
    }

    .chat-container {
        height: calc(100vh - 120px);
    }

    .message {
        max-width: 95%;
    }
}

/* Simple Hero */
.hero-simple {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 60px;
}

.hero-simple .hero-content {
    max-width: 600px;
}

.hero-simple h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.user-welcome {
    margin-top: 30px;
    color: var(--text-gray);
}

.user-welcome strong {
    color: var(--white);
}

.sport-badge {
    background: rgba(255, 26, 26, 0.15);
    border: 1px solid rgba(255, 26, 26, 0.3);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary-red);
    margin-left: 10px;
}

/* Profile Summary */
.profile-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    padding: 15px 20px;
    background: rgba(255, 26, 26, 0.1);
    border: 1px solid rgba(255, 26, 26, 0.2);
    border-radius: var(--radius-md);
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.summary-item i {
    color: var(--primary-red);
}

.profile-summary .btn-outline {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-color: var(--primary-red);
}

.profile-summary .btn-outline:hover {
    background: var(--primary-red);
}

/* New User Prompt */
.new-user-prompt {
    margin-top: 20px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
}

.new-user-prompt p {
    color: var(--text-gray);
    margin: 0;
    font-size: 0.95rem;
}

/* Quick Features */
.quick-features {
    padding: 40px 0 80px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--dark-gray);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: 0.3s;
}

.feature-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
}

.feature-card .feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-card .feature-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--white);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mode Selector */
.mode-selector {
    padding: 15px 30px;
    background: var(--black);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mode-dropdown {
    width: 100%;
    padding: 12px 16px;
    background: var(--dark-gray);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.mode-dropdown:focus {
    outline: none;
    border-color: var(--primary-red);
}

/* Quick Suggestions */
.quick-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.suggestion-btn {
    background: var(--black);
    border: 1px solid var(--light-gray);
    color: var(--text-gray);
    padding: 8px 14px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: 0.3s;
}

.suggestion-btn:hover {
    border-color: var(--primary-red);
    color: var(--white);
}

/* Profile Grid */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.profile-card {
    background: var(--dark-gray);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 30px;
}

.profile-card.full-width {
    grid-column: 1 / -1;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.card-header i {
    font-size: 1.5rem;
    color: var(--primary-red);
}

.card-header h2 {
    font-size: 1.3rem;
    margin: 0;
}

/* Profile Form */
.profile-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.profile-form .form-group {
    margin-bottom: 15px;
}

.profile-form label {
    display: block;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.profile-form input,
.profile-form select,
.profile-form textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--black);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 1rem;
    transition: 0.3s;
}

.profile-form input:focus,
.profile-form select:focus,
.profile-form textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.profile-form textarea {
    min-height: 80px;
    resize: vertical;
}

/* Action Buttons */
.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 25px 20px;
    background: var(--black);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    color: var(--text-light);
    transition: 0.3s;
    text-decoration: none;
}

.action-btn:hover {
    border-color: var(--primary-red);
    color: var(--white);
}

.action-btn i {
    font-size: 1.8rem;
    color: var(--primary-red);
}

.action-btn span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Plans List */
.plans-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.plan-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--black);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
}

.plan-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--white);
}

.plan-info p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
}

.plan-date {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* Alert */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 25px;
}

.alert-success {
    background: rgba(0, 204, 102, 0.15);
    border: 1px solid rgba(0, 204, 102, 0.3);
    color: var(--success);
}

.alert-error {
    background: rgba(255, 51, 51, 0.15);
    border: 1px solid rgba(255, 51, 51, 0.3);
    color: var(--error);
}

/* Profile Stats */
.profile-stats {
    display: flex;
    gap: 20px;
}

.stat-box {
    text-align: center;
    padding: 15px 25px;
    background: var(--black);
    border-radius: var(--radius-md);
}

.stat-box i {
    font-size: 1.2rem;
    color: var(--primary-red);
    margin-bottom: 5px;
    display: block;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* Button Large */
.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}
