/* Cleaning & Restructuring CSS Code by AI */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #131722 0%, #1D2A3A 100%);
    min-height: 100vh;
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
}

.floating-letters {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.letter {
    position: absolute;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    color: rgba(207, 45, 75, 0.496);
    animation: float-letter linear infinite;
    user-select: none;
}

.binary {
    font-size: 18px;
    color: rgba(207, 45, 75, 0.496);
}

.code-char {
    font-size: 18px;
    color: rgba(29, 42, 58, 0.8);
}

.supra-char {
    font-size: 14px;
    color: rgba(221, 20, 56, 0.2);
    font-weight: 700;
}

@keyframes float-letter {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 1;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.particle-system {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #DD1438;
    border-radius: 50%;
    opacity: 0.6;
    animation: particle-float linear infinite;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-50px) translateX(100px);
        opacity: 0;
    }
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.02;
    background-image: 
        linear-gradient(rgba(221, 20, 56, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(221, 20, 56, 0.3) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.logo {
    font-size: 1.7rem;
    font-weight: 500;
    background: linear-gradient(135deg, #DD1438 0%, #ff4567 50%, #DD1438 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #DD1438, transparent);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 10px #DD1438; }
    to { box-shadow: 0 0 20px #DD1438, 0 0 30px #DD1438; }
}

.subtitle {
    font-size: 1.2rem;
    color: #9EABB5;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.2;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(29, 42, 58, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(53, 63, 74, 0.3);
    border-radius: 22px;
    padding: 1.3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(221, 20, 56, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(221, 20, 56, 0.4);
    box-shadow: 
        0 25px 50px rgba(19, 23, 34, 0.4),
        0 0 40px rgba(221, 20, 56, 0.15);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.stat-icon {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #00ff88;
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.6);
    animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.countdown-icon {
    background: #DD1438;
    box-shadow: 0 0 12px rgba(221, 20, 56, 0.6);
    animation: pulse-red 1s ease-in-out infinite;
}

@keyframes pulse-red {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.stat-title {
    font-size: 1rem;
    font-weight: 600;
    color: #9EABB5;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.1;
    margin-top: 0.25rem;
}

.countdown-value {
    background: linear-gradient(135deg, #DD1438, #ff4567);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.values-section {
    background: rgba(29, 42, 58, 0.3);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(53, 63, 74, 0.4);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(221, 20, 56, 0.4), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.values-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.values-title::before {
    font-size: 1.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.value-item {
    background: rgba(53, 63, 74, 0.3);
    border: 1px solid rgba(106, 115, 124, 0.2);
    border-radius: 16px;
    padding: 1.4rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(221, 20, 56, 0.05), transparent);
    transition: left 0.5s ease;
}

.value-item:hover::before {
    left: 100%;
}

.value-item:hover {
    border-color: rgba(221, 20, 56, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(19, 23, 34, 0.3);
}

.value-label {
    font-size: 0.9rem;
    color: #9EABB5;
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.value-content {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    color: #ffffff;
    background: rgba(53, 63, 74, 0.4);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(106, 115, 124, 0.3);
    word-break: break-all;
    line-height: 1.4;
    min-height: 50px;
    display: flex;
    align-items: center;
}

.cli-content {
    font-size: 0.85rem;
    white-space: pre-wrap;
    max-height: 120px;
    overflow-y: auto;
    min-height: 100px;
    align-items: flex-start;
    padding-top: 0.75rem;
}

.copy-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, #DD1438, #c41030);
    border: none;
    color: white;
    padding: 0.2rem 1.4rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(221, 20, 56, 0.3);
}

.copy-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 25px rgba(221, 20, 56, 0.5);
}

.copy-btn:active {
    transform: scale(0.95);
}

.copy-btn.success {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.loading-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(221, 20, 56, 0.2);
    border-radius: 50%;
    border-top-color: #DD1438;
    animation: spin 0.8s linear infinite;
}

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

/* Resources Section */
.resources-section {
    background: rgba(29, 42, 58, 0.25);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(53, 63, 74, 0.3);
    border-radius: 24px;
    padding: 2rem;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.resources-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(221, 20, 56, 0.3), transparent);
    animation: shimmer 4s ease-in-out infinite;
}

.resources-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.resources-title::before {
    font-size: 1.5rem;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.resource-card {
    background: rgba(53, 63, 74, 0.3);
    border: 1px solid rgba(106, 115, 124, 0.2);
    border-radius: 16px;
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(221, 20, 56, 0.05), transparent);
    transition: left 0.5s ease;
}

.resource-card:hover::before {
    left: 100%;
}

.resource-card:hover {
    border-color: rgba(221, 20, 56, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(19, 23, 34, 0.3);
}

.resource-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(29, 42, 58, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(221, 20, 56, 0.2);
    flex-shrink: 0;
}

.resource-info {
    flex: 1;
}

.resource-name {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.resource-desc {
    font-size: 0.85rem;
    color: #9EABB5;
    font-weight: 400;
}

.status-bar {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(19, 23, 34, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(53, 63, 74, 0.4);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: #9EABB5;
    z-index: 100;
    box-shadow: 0 5px 20px rgba(19, 23, 34, 0.5);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00ff88;
    animation: pulse-green 2s ease-in-out infinite;
}

.automation-section {
    background: rgba(29, 42, 58, 0.25);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(53, 63, 74, 0.3);
    border-radius: 24px;
    padding: 2rem;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.automation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(221, 20, 56, 0.4), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

.automation-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-align: center;
}

.automation-subtitle {
    color: #9EABB5;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.wizard-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.wizard-step {
    background: rgba(53, 63, 74, 0.3);
    border: 1px solid rgba(106, 115, 124, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.wizard-step.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.wizard-step.active {
    border-color: rgba(221, 20, 56, 0.4);
    box-shadow: 0 5px 20px rgba(221, 20, 56, 0.1);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #DD1438, #c41030);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-info {
    flex: 1;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.step-desc {
    font-size: 0.9rem;
    color: #9EABB5;
}

.step-content {
    padding-left: 3rem;
}

.connect-btn, .scan-btn, .deploy-btn, .refresh-btn, .continue-btn {
    background: linear-gradient(135deg, #DD1438, #c41030);
    border: none;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-right: 1rem;
}

.connect-btn:hover, .scan-btn:hover, .deploy-btn:hover, .refresh-btn:hover, .continue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(221, 20, 56, 0.4);
}

.btn-icon {
    font-size: 1.2rem;
}

.input-group {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.wizard-input {
    flex: 1;
    background: rgba(53, 63, 74, 0.4);
    border: 1px solid rgba(106, 115, 124, 0.3);
    border-radius: 8px;
    padding: 0.75rem;
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

.wizard-input:focus {
    outline: none;
    border-color: rgba(221, 20, 56, 0.5);
    box-shadow: 0 0 0 2px rgba(221, 20, 56, 0.1);
}

#moduleCountGroup {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(53, 63, 74, 0.2);
    border: 1px solid rgba(106, 115, 124, 0.2);
    border-radius: 8px;
    flex-direction: column;
    align-items: flex-start;
}

#moduleCountGroup label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #9EABB5;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

#moduleCount {
    width: 200px;
    margin-right: 1rem;
}

#moduleCount:focus {
    outline: none;
    border-color: rgba(221, 20, 56, 0.5);
    box-shadow: 0 0 0 2px rgba(221, 20, 56, 0.1);
}

#moduleCountGroup .hint-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: rgba(221, 20, 56, 0.2);
    border: 1px solid rgba(221, 20, 56, 0.3);
    border-radius: 50%;
    cursor: help;
    font-size: 12px;
    color: #DD1438;
    position: relative;
}

/* Loading State */
.loading-state {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #9EABB5;
    margin-top: 1rem;
}

/* Wallet Status */
.wallet-status {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 8px;
}

.status-connected {
    color: #00ff88;
    font-weight: 600;
}

.modules-grid, .functions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-height: 400px;
    overflow-y: auto;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(19, 23, 34, 0.2);
}

.modules-grid::-webkit-scrollbar, .functions-grid::-webkit-scrollbar {
    width: 8px;
}

.modules-grid::-webkit-scrollbar-track, .functions-grid::-webkit-scrollbar-track {
    background: rgba(53, 63, 74, 0.3);
    border-radius: 4px;
}

.modules-grid::-webkit-scrollbar-thumb, .functions-grid::-webkit-scrollbar-thumb {
    background: rgba(221, 20, 56, 0.5);
    border-radius: 4px;
}

.modules-grid::-webkit-scrollbar-thumb:hover, .functions-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(221, 20, 56, 0.7);
}

.module-card, .function-card {
    background: rgba(29, 42, 58, 0.5);
    border: 1px solid rgba(106, 115, 124, 0.2);
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.module-card:hover, .function-card:hover {
    border-color: rgba(221, 20, 56, 0.4);
    transform: translateY(-2px);
}

.module-card.selected, .function-card.selected {
    border-color: rgba(221, 20, 56, 0.6);
    background: rgba(221, 20, 56, 0.1);
}

.module-name, .function-name {
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.module-desc, .function-desc {
    font-size: 0.85rem;
    color: #9EABB5;
}

.automated-tasks-container {
    margin-bottom: 1.5rem;
}

.tasks-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.tasks-header h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 0;
}

.refresh-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.refresh-btn .btn-icon {
    font-size: 1rem;
}

.tasks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
    max-height: 500px;
    overflow-y: auto;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(19, 23, 34, 0.1);
}

.tasks-grid::-webkit-scrollbar {
    width: 8px;
}

.tasks-grid::-webkit-scrollbar-track {
    background: rgba(53, 63, 74, 0.3);
    border-radius: 4px;
}

.tasks-grid::-webkit-scrollbar-thumb {
    background: rgba(221, 20, 56, 0.5);
    border-radius: 4px;
}

.tasks-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(221, 20, 56, 0.7);
}

.task-card {
    background: rgba(29, 42, 58, 0.5);
    border: 1px solid rgba(106, 115, 124, 0.2);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.task-card:hover {
    border-color: rgba(221, 20, 56, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(19, 23, 34, 0.3);
}

.task-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(106, 115, 124, 0.2);
}

.task-id {
    font-weight: 700;
    color: #ffffff;
    font-size: 0.9rem;
    font-family: 'JetBrains Mono', monospace;
}

.task-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.task-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.task-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
}

.detail-label {
    color: #9EABB5;
    font-size: 0.8rem;
    font-weight: 500;
    min-width: 80px;
}

.detail-value {
    color: #ffffff;
    font-size: 0.8rem;
    font-family: 'JetBrains Mono', monospace;
    text-align: right;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.no-tasks-state {
    text-align: center;
    padding: 2rem;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.empty-icon {
    font-size: 3rem;
    opacity: 0.6;
}

.empty-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
}

.empty-desc {
    color: #9EABB5;
    font-size: 0.9rem;
    max-width: 300px;
    line-height: 1.4;
}

.continue-actions {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.continue-btn {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    margin-right: 0;
}

.continue-btn .btn-icon {
    font-size: 1.2rem;
}

.params-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.params-section h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.param-row {
    margin-bottom: 1rem;
}

.param-row label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #9EABB5;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.param-input {
    width: 100%;
    background: rgba(53, 63, 74, 0.4);
    border: 1px solid rgba(106, 115, 124, 0.3);
    border-radius: 8px;
    padding: 0.75rem;
    color: #ffffff;
    font-size: 0.9rem;
}

.param-input.readonly {
    background: rgba(53, 63, 74, 0.2);
    cursor: not-allowed;
}

.param-input.invalid {
    border-color: rgba(255, 107, 107, 0.5);
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.1);
}

.param-row small {
    color: #9EABB5;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

.param-error {
    color: #ff6b6b;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

/* Hint System */
.hint-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: rgba(221, 20, 56, 0.2);
    border: 1px solid rgba(221, 20, 56, 0.3);
    border-radius: 50%;
    cursor: help;
    font-size: 12px;
    color: #DD1438;
    position: relative;
}

.hint-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(19, 23, 34, 0.95);
    border: 1px solid rgba(53, 63, 74, 0.5);
    border-radius: 8px;
    padding: 0.75rem;
    color: #ffffff;
    font-size: 0.8rem;
    width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.hint-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(19, 23, 34, 0.95);
}

.hint-icon:hover .hint-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Type Args Section */
.type-args-section {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(29, 42, 58, 0.3);
    border: 1px solid rgba(106, 115, 124, 0.2);
    border-radius: 8px;
}

.type-args-section h5 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.type-arg-input {
    width: 100%;
    background: rgba(53, 63, 74, 0.4);
    border: 1px solid rgba(106, 115, 124, 0.3);
    border-radius: 6px;
    padding: 0.5rem;
    color: #ffffff;
    font-size: 0.85rem;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 0.5rem;
}

/* Deployment */
.deployment-preview {
    margin-bottom: 2rem;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.summary-item {
    background: rgba(53, 63, 74, 0.3);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(106, 115, 124, 0.2);
}

.summary-label {
    color: #9EABB5;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.summary-value {
    color: #ffffff;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

.deploy-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
}

.deploy-status.success {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #00ff88;
}

.deploy-status.error {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: #ff6b6b;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notification-icon {
    font-size: 1.2rem;
}

.notification-message {
    font-size: 0.9rem;
    font-weight: 500;
}

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

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

/* Scrollbar Styling */
.cli-content::-webkit-scrollbar {
    width: 6px;
}

.cli-content::-webkit-scrollbar-track {
    background: rgba(53, 63, 74, 0.3);
    border-radius: 3px;
}

.cli-content::-webkit-scrollbar-thumb {
    background: rgba(221, 20, 56, 0.5);
    border-radius: 3px;
}

.cli-content::-webkit-scrollbar-thumb:hover {
    background: rgba(221, 20, 56, 0.7);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .stats-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    .resources-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .logo {
        font-size: 2.8rem;
    }
    
    .stat-card {
        padding: 2rem;
    }
    
    .values-section {
        padding: 2rem;
    }
    
    .status-bar {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        transform: none;
        padding: 1rem 1.5rem;
    }
    .resource-card {
        padding: 1rem;
    }
    
    .resource-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .params-container {
        grid-template-columns: 1fr;
    }
    
    .step-content {
        padding-left: 0;
    }
    
    .input-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .modules-grid, .functions-grid {
        grid-template-columns: 1fr;
    }
    
    /* NEW: Responsive design for tasks */
    .tasks-grid {
        grid-template-columns: 1fr;
    }
    
    .tasks-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .task-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .detail-value {
        text-align: left;
        max-width: 100%;
    }
    
    /* NEW: Responsive design for module count input */
    #moduleCountGroup {
        padding: 0.75rem;
    }
    
    #moduleCount {
        width: 100%;
        margin-right: 0;
    }
}