/* ============================================
   SHELLINFO PAGE - CUSTOM STYLES
   SVXLink Dashboard by SP2ONG
   ============================================ */

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from { 
        opacity: 0; 
        transform: translateY(-30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

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

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

/* Container */
.shellinfo-container {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    animation: fadeIn 0.5s ease-in;
}

/* Header */
.shellinfo-header {
    background: linear-gradient(135deg, #1d2658 0%, #3f4c84 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.6s ease-out;
}

.shellinfo-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #00aee8;
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.shellinfo-title .material-icons {
    font-size: 36px;
    color: #08dc6e;
}

/* Info/Warning/Tip/Success Boxes */
.info-box,
.warning-box,
.tip-box,
.success-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    animation: slideUp 0.6s ease-out;
}

.info-box {
    background: rgba(33, 150, 243, 0.15);
    border-left: 4px solid #2196f3;
}

.warning-box {
    background: rgba(255, 193, 7, 0.15);
    border-left: 4px solid #ffc107;
}

.tip-box {
    background: rgba(8, 220, 110, 0.15);
    border-left: 4px solid #08dc6e;
}

.success-box {
    background: rgba(76, 175, 80, 0.15);
    border-left: 4px solid #4caf50;
}

.info-box .material-icons {
    font-size: 28px;
    color: #2196f3;
    flex-shrink: 0;
    margin-top: 2px;
}

.warning-box .material-icons {
    font-size: 28px;
    color: #ffc107;
    flex-shrink: 0;
    margin-top: 2px;
}

.tip-box .material-icons {
    font-size: 28px;
    color: #08dc6e;
    flex-shrink: 0;
    margin-top: 2px;
}

.success-box .material-icons {
    font-size: 32px;
    color: #4caf50;
    flex-shrink: 0;
    margin-top: 0;
}

.info-box p,
.warning-box p,
.tip-box p,
.success-box p {
    color: #f3ead3;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.info-box strong,
.warning-box strong,
.tip-box strong {
    color: #08dc6e;
    font-weight: 600;
}

/* Step Section */
.step-section {
    background: linear-gradient(135deg, #1d2658 0%, #2a3668 100%);
    border-radius: 10px;
    padding: 0;
    margin-bottom: 25px;
    border: 1px solid rgba(8, 220, 110, 0.2);
    animation: slideUp 0.7s ease-out;
    animation-fill-mode: both;
}

.step-section:nth-child(4) { animation-delay: 0.1s; }
.step-section:nth-child(5) { animation-delay: 0.2s; }
.step-section:nth-child(6) { animation-delay: 0.3s; }
.step-section:nth-child(7) { animation-delay: 0.4s; }

/* Step Header */
.step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #00aee8 0%, #0088bb 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 10px 10px 0 0;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-title .material-icons {
    font-size: 24px;
}

/* Step Content */
.step-content {
    padding: 25px;
}

.step-content p {
    color: #f3ead3;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.step-content p:last-child {
    margin-bottom: 0;
}

/* Code Blocks */
.code-block {
    background: #1a1a1a;
    border: 1px solid #08dc6e;
    border-radius: 6px;
    padding: 12px 15px;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.code-block code {
    color: #08dc6e;
    font-weight: 600;
}

/* Code Example (multi-line) */
.code-example {
    background: #ffffdd;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 15px 0;
}

.code-example pre {
    color: #000;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
    white-space: pre;
    overflow-x: auto;
}

/* Command Block (with copy button) */
.command-block {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #000;
    border: 1px solid #00aee8;
    border-radius: 6px;
    padding: 12px 15px;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.command-prompt {
    color: #08dc6e;
    font-weight: 700;
    flex-shrink: 0;
}

.command-block code {
    color: #00aee8;
    flex: 1;
}

/* Copy Button */
.copy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(0, 174, 232, 0.2);
    border: 1px solid #00aee8;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.copy-btn:hover {
    background: rgba(0, 174, 232, 0.4);
    transform: scale(1.1);
}

.copy-btn.copied {
    background: rgba(8, 220, 110, 0.3);
    border-color: #08dc6e;
}

.copy-btn .material-icons {
    font-size: 18px;
    color: #00aee8;
}

.copy-btn.copied .material-icons {
    color: #08dc6e;
}

/* Username Highlight */
.username {
    display: inline-block;
    background: linear-gradient(135deg, #00aee8 0%, #0088bb 100%);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    font-weight: 700;
}

/* Inline Code */
.step-content code {
    background: rgba(8, 220, 110, 0.2);
    color: #08dc6e;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
}

/* Access Denied */
.access-denied {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    animation: fadeIn 0.5s ease-in;
}

.access-denied img {
    max-width: 400px;
    opacity: 0.8;
    margin-bottom: 20px;
    animation: slideDown 0.6s ease-out;
}

.access-denied-text {
    color: #f3ead3;
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    margin-top: 20px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media screen and (max-width: 768px) {
    .shellinfo-container {
        padding: 15px;
        margin: 20px auto;
    }

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

    .shellinfo-title {
        font-size: 22px;
        flex-direction: column;
        gap: 10px;
    }

    .shellinfo-title .material-icons {
        font-size: 32px;
    }

    .step-header {
        padding: 12px 15px;
    }

    .step-title {
        font-size: 16px;
    }

    .step-content {
        padding: 20px;
    }

    .command-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .copy-btn {
        align-self: flex-end;
    }
}

/* Mobile */
@media screen and (max-width: 480px) {
    .shellinfo-container {
        padding: 10px;
        margin: 15px auto;
    }

    .shellinfo-header {
        padding: 20px 15px;
        border-radius: 8px;
    }

    .shellinfo-title {
        font-size: 18px;
    }

    .shellinfo-title .material-icons {
        font-size: 28px;
    }

    .info-box,
    .warning-box,
    .tip-box,
    .success-box {
        padding: 15px;
        gap: 12px;
    }

    .info-box .material-icons,
    .warning-box .material-icons,
    .tip-box .material-icons {
        font-size: 24px;
    }

    .success-box .material-icons {
        font-size: 28px;
    }

    .info-box p,
    .warning-box p,
    .tip-box p,
    .success-box p {
        font-size: 13px;
    }

    .step-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .step-title {
        font-size: 15px;
    }

    .step-title .material-icons {
        font-size: 22px;
    }

    .step-content {
        padding: 15px;
    }

    .step-content p {
        font-size: 13px;
    }

    .code-block,
    .command-block {
        font-size: 12px;
        padding: 10px 12px;
    }

    .code-example {
        padding: 12px 15px;
    }

    .code-example pre {
        font-size: 11px;
    }

    .command-block {
        flex-direction: column;
        align-items: stretch;
    }

    .command-block code {
        word-break: break-all;
    }

    .copy-btn {
        width: 100%;
        height: 36px;
    }

    .access-denied img {
        max-width: 250px;
    }

    .access-denied-text {
        font-size: 16px;
    }
}