/* MD5 Generator Tool Styles */
.md5-generator-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    color: #333;
}

.md5-generator-hero {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    text-align: center;
    padding: 60px 20px 100px;
    border-radius: 0 0 20px 20px;
    position: relative;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.md5-generator-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.md5-generator-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    font-weight: 400;
}

.md5-generator-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.md5-generator-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.md5-generator-wave .shape-fill {
    fill: #FFFFFF;
}

.md5-generator-tool {
    margin-bottom: 60px;
}

.md5-generator-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-top: -50px;
    position: relative;
    z-index: 1;
}

.md5-generator-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #555;
    font-size: 1rem;
}

.md5-generator-input, .md5-generator-output {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Courier New', Courier, monospace;
}

.md5-generator-input:focus {
    border-color: #6e8efb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(110, 142, 251, 0.2);
}

.md5-generator-input {
    resize: vertical;
    min-height: 100px;
    background-color: #f9f9f9;
}

.md5-generator-output-container {
    position: relative;
}

.md5-generator-output {
    background-color: #f5f5f5;
    color: #333;
    padding-right: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.md5-generator-copy-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.md5-generator-copy-btn:hover {
    background: linear-gradient(135deg, #5d7de8, #9666d6);
    transform: translateY(-50%) scale(1.05);
}

.md5-generator-buttons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.md5-generator-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.md5-generate-btn {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
}

.md5-generate-btn:hover {
    background: linear-gradient(135deg, #5d7de8, #9666d6);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(110, 142, 251, 0.3);
}

.md5-clear-btn {
    background: #f0f0f0;
    color: #555;
}

.md5-clear-btn:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.md5-generator-info {
    margin-bottom: 60px;
}

.md5-generator-info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.md5-generator-info-box {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.md5-generator-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.md5-generator-info-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #6e8efb;
}

.md5-generator-info-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #444;
}

.md5-generator-info-text {
    color: #666;
    line-height: 1.6;
}

.md5-generator-content {
    margin-bottom: 60px;
}

.md5-generator-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.md5-generator-content-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #444;
    position: relative;
    padding-bottom: 10px;
}

.md5-generator-content-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    border-radius: 2px;
}

.md5-generator-content-text {
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

.md5-generator-feature {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.md5-generator-feature-alt {
    background: linear-gradient(135deg, rgba(110, 142, 251, 0.05), rgba(167, 119, 227, 0.05));
}

.md5-generator-feature-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #444;
}

.md5-generator-feature-text {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.md5-generator-feature-list {
    padding-left: 20px;
    color: #555;
    line-height: 1.7;
}

.md5-generator-feature-list li {
    margin-bottom: 8px;
}

.md5-generator-faq {
    margin-bottom: 60px;
}

.md5-generator-faq-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #444;
    text-align: center;
}

.md5-generator-faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.md5-generator-faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.md5-generator-faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    background: white;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.md5-generator-faq-question:hover {
    background: #f9f9f9;
}

.md5-generator-faq-icon {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.md5-generator-faq-question.active .md5-generator-faq-icon {
    transform: rotate(45deg);
}

.md5-generator-faq-answer {
    background: #f9f9f9;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.md5-generator-faq-answer p, .md5-generator-faq-answer ul {
    padding: 0 20px 20px;
    color: #555;
    line-height: 1.7;
}

.md5-generator-faq-answer ul {
    padding-left: 40px;
}

.md5-generator-related {
    margin-bottom: 60px;
    text-align: center;
}

.md5-generator-related-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #444;
}

.md5-generator-related-tool {
    display: inline-block;
    background: white;
    border-radius: 10px;
    padding: 20px 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.md5-generator-related-tool:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.md5-generator-related-link {
    font-size: 1.2rem;
    font-weight: 600;
    color: #6e8efb;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.md5-generator-related-link:hover {
    color: #5d7de8;
}

.md5-generator-related-desc {
    color: #666;
    max-width: 400px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .md5-generator-title {
        font-size: 2.2rem;
    }
    
    .md5-generator-subtitle {
        font-size: 1rem;
    }
    
    .md5-generator-info-boxes {
        grid-template-columns: 1fr;
    }
    
    .md5-generator-card {
        padding: 20px;
    }
    
    .md5-generator-buttons {
        flex-direction: column;
    }
    
    .md5-generator-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .md5-generator-title {
        font-size: 1.8rem;
    }
    
    .md5-generator-content-title, .md5-generator-faq-title {
        font-size: 1.5rem;
    }
    
    .md5-generator-feature-title {
        font-size: 1.2rem;
    }
}