/* Angel Name Generator CSS */
.angel-name-generator-container {
    max-width: 800px;
    margin: 10px auto;
    padding: 10px;
    background: linear-gradient(135deg, #f5f7ff 0%, #e0e6ff 100%);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    color: #2c3e50;
    font-family: 'Arial', sans-serif;
}

.angel-title {
    text-align: center;
    color: #3a4c7d;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.angel-description {
    text-align: center;
    margin-bottom: 2rem;
    color: #5d6b8a;
    line-height: 1.6;
}

.generator-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.option-group {
    background: rgba(255, 255, 255, 0.7);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.option-group h3 {
    color: #3a4c7d;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-align: center;
}

.toggle-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.toggle-btn {
    background: white;
    border: 1px solid #b8c4e8;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: #2c3e50;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    outline: none;
}

.toggle-btn:hover {
    background: #f0f3ff;
    border-color: #7b8fc9;
}

.toggle-btn.active {
    background: #7b8fc9;
    color: white;
    border-color: #7b8fc9;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.radio-label:hover {
    background-color: rgba(123, 143, 201, 0.1);
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-text {
    position: relative;
    padding-left: 35px;
    color: #2c3e50;
    font-size: 1rem;
}

.radio-text:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #7b8fc9;
    border-radius: 50%;
    background-color: white;
    transition: all 0.2s ease;
}

.radio-text:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #7b8fc9;
    opacity: 0;
    transition: all 0.2s ease;
}

.radio-label input[type="radio"]:checked + .radio-text:before {
    border-color: #7b8fc9;
    background-color: white;
}

.radio-label input[type="radio"]:checked + .radio-text:after {
    opacity: 1;
}

label {
    font-weight: bold;
    color: #3a4c7d;
}

select {
    padding: 0.8rem;
    border: 2px solid #b8c4e8;
    border-radius: 8px;
    background-color: white;
    color: #2c3e50;
    font-size: 1rem;
    transition: all 0.3s ease;
}

select:focus {
    border-color: #7b8fc9;
    outline: none;
    box-shadow: 0 0 0 3px rgba(123, 143, 201, 0.2);
}

.generate-button {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 2rem auto;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #7b8fc9 0%, #5c6bc0 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.generate-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(92, 107, 192, 0.3);
}

.result-container {
    text-align: center;
    margin: 2rem 0;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.result {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.hidden {
    display: none;
}

#angel-name {
    color: #3a4c7d;
    font-size: 2rem;
    margin-bottom: 1rem;
}

#name-meaning, #name-origin {
    color: #5d6b8a;
    margin: 0.5rem 0;
    line-height: 1.6;
}

.loading-spinner {
    display: none;
    justify-content: center;
    align-items: center;
    min-height: 100px;
}

.loading-spinner.hidden {
    display: none !important;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #7b8fc9;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.info-section {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
}

.info-section h3 {
    color: #3a4c7d;
    margin-bottom: 1rem;
}

.features-list {
    margin-top: 1.5rem;
}

.features-list h4 {
    color: #3a4c7d;
    margin-bottom: 0.8rem;
}

.features-list ul {
    list-style: none;
    padding: 0;
}

.features-list li {
    margin: 0.5rem 0;
    color: #5d6b8a;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .angel-name-generator-container {
        margin: 5px;
        padding: 10px;
    }

    .angel-title {
        font-size: 2rem;
    }

    .generator-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .toggle-btn {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .radio-label {
        padding: 0.8rem;
    }

    .radio-text {
        font-size: 0.95rem;
    }

    .result {
        padding: 1.5rem;
    }

    #angel-name {
        font-size: 1.5rem;
    }
}
