/* ============================================
   SVXCINFO 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 */
.svxcinfo-container {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    animation: fadeIn 0.5s ease-in;
}

/* Header */
.svxcinfo-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;
}

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

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

.svxcinfo-subtitle {
    color: #f3ead3;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    opacity: 0.9;
}

/* Info/Warning/Tip/Feature Boxes */
.info-box,
.warning-box,
.tip-box,
.feature-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;
}

.feature-box {
    background: rgba(156, 39, 176, 0.15);
    border-left: 4px solid #9c27b0;
}

.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;
}

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

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

.info-box p:last-child,
.warning-box p:last-child,
.tip-box p:last-child,
.feature-box p:last-child {
    margin-bottom: 0;
}

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

/* URL Display */
.url-display {
    background: #1a1a1a;
    border: 1px solid #00aee8;
    border-radius: 6px;
    padding: 12px 15px;
    margin-top: 12px;
}

.url-display code {
    color: #00aee8;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: 600;
}

/* Button Section */
.button-section {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    animation: slideUp 0.7s ease-out;
}

/* Open Button */
.open-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #ff6b35 0%, #cc5528 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.open-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
    animation: pulse 0.6s ease-in-out;
}

.open-button .material-icons {
    font-size: 24px;
}

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

.setup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #00aee8 0%, #0088bb 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 10px 10px 0 0;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
}

.setup-header .material-icons {
    font-size: 24px;
}

.setup-content {
    padding: 25px;
}

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

/* Step Box */
.step-box {
    background: rgba(0, 174, 232, 0.1);
    border: 1px solid rgba(0, 174, 232, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.step-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #00aee8;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

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

/* Command Block */
.command-block {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #000;
    border: 1px solid #00aee8;
    border-radius: 6px;
    padding: 12px 15px;
    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;
}

/* 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) {
    .svxcinfo-container {
        padding: 15px;
        margin: 20px auto;
    }

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

    .svxcinfo-title {
        font-size: 24px;
        flex-direction: column;
        gap: 10px;
    }

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

    .svxcinfo-subtitle {
        font-size: 14px;
    }

    .open-button {
        padding: 14px 35px;
        font-size: 16px;
    }

    .setup-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) {
    .svxcinfo-container {
        padding: 10px;
        margin: 15px auto;
    }

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

    .svxcinfo-title {
        font-size: 20px;
    }

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

    .svxcinfo-subtitle {
        font-size: 13px;
    }

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

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

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

    .url-display {
        padding: 10px 12px;
    }

    .url-display code {
        font-size: 12px;
        word-break: break-all;
    }

    .open-button {
        width: 100%;
        padding: 14px 30px;
        font-size: 16px;
    }

    .open-button .material-icons {
        font-size: 22px;
    }

    .setup-header {
        font-size: 16px;
        padding: 12px 15px;
    }

    .setup-header .material-icons {
        font-size: 22px;
    }

    .setup-content {
        padding: 15px;
    }

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

    .step-box {
        padding: 15px;
    }

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

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

    .command-block {
        font-size: 12px;
        padding: 10px 12px;
        flex-direction: column;
        align-items: stretch;
    }

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

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

    .username {
        font-size: 12px;
        padding: 2px 6px;
    }

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

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