/* ============================================
   WinSCP Configuration Info - Custom Styles
   Author: SP2ONG
   File: /css/winscpinfo-custom.css
   ============================================ */

/* === 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); 
        opacity: 1; 
    }
    50% { 
        transform: scale(1.05); 
        opacity: 0.8; 
    }
}

/* === MAIN CONTAINER === */
.winscp-container {
    max-width: 1000px;
    margin: 20px auto;
    padding: 30px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.6s ease-in;
}

/* === HEADER === */
.winscp-header {
    text-align: center;
    margin-bottom: 30px;
    animation: slideDown 0.7s ease-out;
}

.winscp-title {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #667eea;
    text-shadow: 0.5px 0.5px 2px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 0 15px 0;
    padding: 18px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 12px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.winscp-title:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.winscp-title .material-icons {
    font-size: 34px;
    color: #667eea;
    animation: pulse 2s ease-in-out infinite;
}

.winscp-subtitle {
    font-size: 14px;
    color: #b0c4de;
    font-style: italic;
    margin: 0;
}

/* === SECTION === */
.winscp-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    overflow: hidden;
    animation: slideUp 0.8s ease-out;
    transition: all 0.3s ease;
}

.winscp-section:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.2);
}

.section-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #667eea;
    border-bottom: 2px solid rgba(102, 126, 234, 0.3);
}

.section-header .material-icons {
    font-size: 26px;
}

.section-content {
    padding: 30px;
}

/* === STEP BOXES === */
.step-box {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid #667eea;
    margin-bottom: 25px;
    animation: slideUp 0.9s ease-out;
    transition: all 0.3s ease;
}

.step-box:hover {
    background: rgba(0, 0, 0, 0.3);
    border-left-color: #7b93ff;
    transform: translateX(5px);
}

.step-box h3 {
    color: #7b93ff;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-box h3 .material-icons {
    font-size: 24px;
    color: #667eea;
}

.step-box p {
    margin: 0 0 10px 0;
    color: #f3ead3;
    line-height: 1.6;
    font-size: 15px;
}

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

/* === DOWNLOAD LINK === */
.download-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.download-link:hover {
    background: linear-gradient(135deg, #7b93ff 0%, #8b5ab8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.download-link .material-icons {
    font-size: 20px;
}

/* === COMMAND BOX === */
.command-box {
    background: #1a1a1a;
    border: 2px solid #667eea;
    border-radius: 10px;
    overflow: hidden;
    margin: 15px 0;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.command-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.command-header .material-icons {
    font-size: 20px;
}

.command-content {
    padding: 15px 20px;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.command-content code {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 15px;
    font-weight: 600;
    color: #00ff88;
    background: transparent;
    border: none;
    padding: 0;
    text-shadow: 0 0 5px rgba(0, 255, 136, 0.5);
}

.copy-btn {
    padding: 8px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    background: linear-gradient(135deg, #7b93ff 0%, #8b5ab8 100%);
    transform: scale(1.1);
}

.copy-btn .material-icons {
    font-size: 20px;
    color: #fff;
}

/* === IMAGE BOX === */
.image-box {
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 2px solid rgba(102, 126, 234, 0.2);
}

.config-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.config-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
}

/* === INFO BOXES === */
.info-box,
.warning-box,
.tip-box {
    display: flex;
    gap: 15px;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 5px solid;
    animation: slideUp 1s ease-out;
}

.info-box {
    background: rgba(33, 150, 243, 0.1);
    border-color: #2196f3;
}

.warning-box {
    background: rgba(255, 193, 7, 0.1);
    border-color: #ffc107;
}

.tip-box {
    background: rgba(8, 220, 110, 0.1);
    border-color: #08dc6e;
}

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

.warning-box .material-icons {
    font-size: 32px;
    color: #ffc107;
    flex-shrink: 0;
}

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

.info-box div,
.warning-box div,
.tip-box div {
    flex: 1;
}

.tip-box h4 {
    color: #08dc6e;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    margin: 0 0 10px 0;
}

.info-box p,
.warning-box p,
.tip-box p {
    margin: 0 0 10px 0;
    color: #f3ead3;
    line-height: 1.6;
    font-size: 15px;
}

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

.tip-box ul {
    margin: 10px 0 0 0;
    padding-left: 25px;
    color: #f3ead3;
}

.tip-box li {
    margin-bottom: 8px;
    line-height: 1.6;
}

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

/* Tablet */
@media screen and (max-width: 768px) {
    .winscp-container {
        padding: 20px;
        margin: 10px;
    }
    
    .winscp-title {
        font-size: 22px;
        padding: 15px;
    }
    
    .winscp-title .material-icons {
        font-size: 28px;
    }
    
    .section-content {
        padding: 20px;
    }
    
    .step-box {
        padding: 15px;
    }
    
    .command-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .copy-btn {
        width: 100%;
        justify-content: center;
        padding: 10px;
    }
}

/* Mobile portrait */
@media screen and (max-width: 480px) {
    .winscp-container {
        padding: 15px;
        margin: 5px;
        border-radius: 10px;
    }
    
    .winscp-title {
        font-size: 18px;
        flex-direction: column;
        gap: 8px;
        padding: 12px;
    }
    
    .winscp-title .material-icons {
        font-size: 24px;
    }
    
    .winscp-subtitle {
        font-size: 12px;
    }
    
    .section-header {
        font-size: 16px;
        padding: 12px 15px;
    }
    
    .section-content {
        padding: 15px;
    }
    
    .step-box {
        padding: 12px;
    }
    
    .step-box h3 {
        font-size: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .command-content code {
        font-size: 13px;
    }
    
    .download-link {
        width: 100%;
        justify-content: center;
    }
    
    .info-box,
    .warning-box,
    .tip-box {
        padding: 15px;
        flex-direction: column;
        gap: 10px;
    }
    
    .info-box .material-icons,
    .warning-box .material-icons,
    .tip-box .material-icons {
        font-size: 28px;
    }
}

/* Very small screens */
@media screen and (max-width: 360px) {
    .winscp-container {
        padding: 10px;
    }
    
    .winscp-title {
        font-size: 16px;
    }
    
    .command-content code {
        font-size: 12px;
        word-break: break-all;
    }
}
