/* Random Letter Generator Styles */
.random-letter-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.random-letter-hero {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.random-letter-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.random-letter-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.random-letter-tool {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.random-letter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.random-letter-option {
    flex: 1;
    min-width: 200px;
}

.random-letter-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.random-letter-select, .random-letter-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.random-letter-select:focus, .random-letter-input:focus {
    border-color: #6e8efb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(110, 142, 251, 0.2);
}

.random-letter-button {
    background: #6e8efb;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
    min-width: 100%;
}

.random-letter-button:hover {
    background: #5a7df4;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(110, 142, 251, 0.3);
}

.random-letter-output-container {
    margin-top: 20px;
}

.random-letter-output-wrapper {
    position: relative;
}

.random-letter-output {
    width: 100%;
    min-height: 150px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1.2rem;
    resize: vertical;
    background: #f9f9f9;
}

.random-letter-copy {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #4CAF50;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.random-letter-copy:hover {
    background: #3e8e41;
}

.random-letter-info-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.random-letter-info-box {
    flex: 1;
    min-width: 250px;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s;
}

.random-letter-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.random-letter-info-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.random-letter-info-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #444;
}

.random-letter-info-text {
    color: #666;
    line-height: 1.6;
}

.random-letter-content {
    margin-bottom: 40px;
}

.random-letter-content-title, .random-letter-feature-title, 
.random-letter-applications-title, .random-letter-faq-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #444;
    position: relative;
    padding-bottom: 10px;
}

.random-letter-content-title:after, .random-letter-feature-title:after,
.random-letter-applications-title:after, .random-letter-faq-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #6e8efb, #a777e3);
}

.random-letter-content-text {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.random-letter-feature-list {
    list-style-type: none;
    padding-left: 0;
}

.random-letter-feature-list li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
}

.random-letter-feature-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #6e8efb;
    font-weight: bold;
}

.random-letter-shape-divider {
    position: relative;
    height: 60px;
    overflow: hidden;
    margin: 40px 0;
}

.random-letter-shape-fill {
    fill: #f7f7f7;
}

.random-letter-applications {
    margin-bottom: 40px;
}

.random-letter-application-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: all 0.3s;
}

.random-letter-application-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.random-letter-application-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.random-letter-application-card-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #444;
}

.random-letter-application-card-text {
    color: #666;
    line-height: 1.6;
}

.random-letter-related-tool {
    text-align: center;
    margin-top: 30px;
    font-size: 1.1rem;
}

.random-letter-related-link {
    color: #6e8efb;
    text-decoration: none;
    font-weight: 600;
}

.random-letter-related-link:hover {
    text-decoration: underline;
}

.random-letter-faq {
    margin-bottom: 40px;
}

.random-letter-faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.random-letter-faq-question {
    width: 100%;
    padding: 15px 20px;
    text-align: left;
    background: #f9f9f9;
    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;
}

.random-letter-faq-question:hover {
    background: #f0f0f0;
}

.random-letter-faq-icon {
    font-size: 1.3rem;
}

.random-letter-faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: white;
}

.random-letter-faq-answer p {
    padding: 20px 0;
    color: #555;
    line-height: 1.7;
}

.random-letter-faq-item.active .random-letter-faq-answer {
    max-height: 500px;
}

.random-letter-faq-item.active .random-letter-faq-icon {
    transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .random-letter-title {
        font-size: 2rem;
    }
    
    .random-letter-subtitle {
        font-size: 1rem;
    }
    
    .random-letter-controls {
        flex-direction: column;
    }
    
    .random-letter-option {
        min-width: 100%;
    }
    
    .random-letter-button {
        min-width: 100%;
    }
    
    .random-letter-info-box {
        min-width: 100%;
    }
}