/* Base64 Decoder Tool Styles */
.base64-decoder-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

.base64-decoder-hero {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #6B73FF 0%, #000DFF 100%);
    color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.base64-decoder-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.base64-decoder-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
}

/* Information Sections */
.base64-decoder-info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.base64-decoder-info-box {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid #6B73FF;
}

.base64-decoder-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.base64-decoder-info-title {
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 20px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.base64-decoder-info-title i {
    font-size: 1.6rem;
    color: #6B73FF;
}

.base64-decoder-steps,
.base64-decoder-use-cases,
.base64-decoder-notes {
    padding-left: 0;
    margin: 0;
    list-style-type: none;
}

.base64-decoder-steps li,
.base64-decoder-use-cases li,
.base64-decoder-notes li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.base64-decoder-steps li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #6B73FF;
    font-weight: bold;
}

.base64-decoder-use-cases li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #6B73FF;
    font-size: 1.5rem;
    line-height: 1;
}

.base64-decoder-notes li:before {
    content: "⚠";
    position: absolute;
    left: 0;
    color: #FF9800;
}

.base64-decoder-seo-content {
    grid-column: 1 / -1;
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.base64-decoder-seo-content h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-top: 40px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.base64-decoder-seo-content h2:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #6B73FF, #000DFF);
}

.base64-decoder-seo-content h3 {
    font-size: 1.5rem;
    color: #34495e;
    margin-top: 30px;
    margin-bottom: 15px;
}

.base64-decoder-seo-content p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.05rem;
}

/* FAQ Section - Dropdown Style */
.base64-decoder-faq-section {
    grid-column: 1 / -1;
    margin-top: 60px;
}

.faq-title {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.faq-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #6B73FF, #000DFF);
    border-radius: 2px;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    font-size: 1.2rem;
    color: #2c3e50;
    padding: 20px 60px 20px 25px;
    margin: 0;
    cursor: pointer;
    position: relative;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question:after {
    content: "+";
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #6B73FF;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question:after {
    content: "-";
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 25px;
}

/* Tool Section Styles (Existing) */
.base64-decoder-tool-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.base64-decoder-input-area,
.base64-decoder-output-area {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.base64-decoder-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.base64-decoder-header h2 {
    font-size: 1.5rem;
    color: #333;
    margin: 0;
}

.base64-decoder-buttons {
    display: flex;
    gap: 10px;
}

.base64-decoder-textarea {
    width: 100%;
    min-height: 200px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    resize: vertical;
    transition: border-color 0.3s;
}

.base64-decoder-textarea:focus {
    outline: none;
    border-color: #6B73FF;
    box-shadow: 0 0 0 3px rgba(107, 115, 255, 0.2);
}

.long-decode-btn {
    width: 100%;
    justify-content: center;
    padding: 15px 25px;
    font-size: 1.1rem;
    margin-top: 10px;
}

.base64-decoder-action-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.base64-decoder-decode-btn {
    background-color: #4CAF50;
    color: white;
}

.base64-decoder-copy-btn {
    background-color: #FF9800;
    color: white;
}

.base64-decoder-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    opacity: 0.9;
}

.base64-decoder-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.base64-decoder-clear-btn {
    background-color: #f44336;
    color: white;
}

.base64-decoder-paste-btn {
    background-color: #9E9E9E;
    color: white;
}

.base64-decoder-download-btn {
    background-color: #607D8B;
    color: white;
}

/* Alert Styles */
.base64-decoder-alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 20px;
    border-radius: 5px;
    color: white;
    font-weight: 500;
    z-index: 1000;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-in-out;
}

.base64-decoder-alert-success {
    background-color: #4CAF50;
}

.base64-decoder-alert-error {
    background-color: #f44336;
}

.base64-decoder-alert-info {
    background-color: #2196F3;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .base64-decoder-title {
        font-size: 2.2rem;
    }
    
    .base64-decoder-subtitle {
        font-size: 1.1rem;
    }
    
    .base64-decoder-info-section {
        grid-template-columns: 1fr;
    }
    
    .base64-decoder-info-box {
        padding: 25px;
    }
    
    .faq-question {
        font-size: 1.1rem;
        padding: 18px 50px 18px 20px;
    }
    
    .base64-decoder-seo-content {
        padding: 25px;
    }
    
    .base64-decoder-seo-content h2 {
        font-size: 1.8rem;
    }
    
    .base64-decoder-seo-content h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .base64-decoder-container {
        padding: 15px;
    }
    
    .base64-decoder-hero {
        padding: 30px 15px;
    }
    
    .base64-decoder-title {
        font-size: 1.8rem;
    }
    
    .base64-decoder-textarea {
        min-height: 150px;
    }
    
    .faq-title {
        font-size: 1.8rem;
    }
    
    .base64-decoder-info-title {
        font-size: 1.3rem;
    }
}




/* Simple FAQ link styling - won't affect other elements */
.faq-link {
    color: #2a6496;
    text-decoration: none;
    border-bottom: 1px dotted #2a6496;
    transition: all 0.2s ease;
}

.faq-link:hover {
    color: #1a4b7a;
    border-bottom: 1px solid #1a4b7a;
}

