/**
 * Random Collective Noun Generator - Styles
 */
.church-tools-collective {
    max-width: 800px;
    margin: 20px auto;
    padding: 30px;
    background: #f7f7f7;
    border-radius: 20px;
    color: #352d3d;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border: 1px solid #ddd;
}

.church-tools-collective .collective-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: center;
    color: #352d3d;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.church-tools-collective .collective-description {
    text-align: center;
    margin-bottom: 30px;
    color: #352d3d;
    font-size: 1.15rem;
}

.church-tools-collective .collective-container {
    margin-bottom: 30px;
}

.church-tools-collective label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #352d3d;
}

.church-tools-collective select {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 1rem;
    margin-bottom: 25px;
    box-sizing: border-box;
    background: white;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.church-tools-collective select:hover {
    border-color: #ff7163;
}

.church-tools-collective .category-selector {
    margin-bottom: 30px;
}

.church-tools-collective .collective-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    margin-bottom: 30px;
    text-align: center;
    border: 2px solid #ff7163;
    color: #352d3d;
}

.church-tools-collective .collective-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.church-tools-collective .collective-display {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: #f7f7f7;
    border-radius: 15px;
    margin-bottom: 25px;
}

.church-tools-collective .collective-word {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ff7163;
    margin-bottom: 10px;
    line-height: 1.4;
}

.church-tools-collective .subject-word {
    font-size: 1.5rem;
    font-weight: 600;
    color: #352d3d;
    font-style: italic;
}

.church-tools-collective .collective-display.fade-in {
    animation: fadeInScale 0.5s ease-in;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.church-tools-collective .collective-btn {
    padding: 14px 26px;
    background: #ff7163;
    border: 1px solid #ff7163;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.church-tools-collective .collective-btn:hover {
    opacity: 0.9;
}

.church-tools-collective .collective-btn:active {
    opacity: 1;
}

.church-tools-collective .collective-btn.primary {
    background: #352d3d;
    border-color: #352d3d;
}

.church-tools-collective .collective-btn.secondary {
    background: #ff7163;
}

.church-tools-collective .collective-btn.tertiary {
    background: white;
    color: #ff7163;
    border: 2px solid #ff7163;
}

.church-tools-collective .fun-facts {
    background: white;
    padding: 25px 30px;
    border-radius: 15px;
    margin-top: 30px;
    border-left: 5px solid #ff7163;
}

.church-tools-collective .fun-facts h3 {
    margin-top: 0;
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #352d3d;
}

.church-tools-collective .fun-facts ul {
    margin: 0;
    padding-left: 25px;
}

.church-tools-collective .fun-facts li {
    margin-bottom: 12px;
    color: #352d3d;
    font-size: 1rem;
    line-height: 1.6;
}

.church-tools-collective .fun-facts strong {
    color: #ff7163;
}

.church-tools-collective .saved-collectives {
    margin-top: 40px;
}

.church-tools-collective .saved-collectives h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
    color: #352d3d;
}

.church-tools-collective .saved-list {
    background: white;
    border-radius: 15px;
    padding: 20px;
    min-height: 70px;
}

.church-tools-collective .saved-item {
    background: #f7f7f7;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-left: 4px solid #ff7163;
    color: #352d3d;
}

.church-tools-collective .saved-item:hover {
    background: #e8e8e8;
    transform: translateX(5px);
}

.church-tools-collective .saved-text {
    flex-grow: 1;
    font-size: 1.05rem;
    font-weight: 500;
}

.church-tools-collective .remove-saved {
    background: #ff7163;
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.church-tools-collective .remove-saved:hover {
    background: #e63946;
    transform: scale(1.15);
}

.church-tools-collective .collective-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.church-tools-collective .empty-state {
    text-align: center;
    font-style: italic;
    opacity: 0.6;
    color: #352d3d;
    padding: 15px;
}

/* Notification styles */
.church-tools-collective .notification-container {
    position: relative;
    margin-top: 20px;
}

.church-tools-collective .notification-message {
    padding: 15px 20px;
    border-radius: 12px;
    font-weight: bold;
    text-align: center;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.church-tools-collective .notification-success {
    background: #ff7163;
    color: #fff;
}

.church-tools-collective .notification-error {
    background: #e63946;
    color: #fff;
}

.church-tools-collective .notification-info {
    background: #352d3d;
    color: #fff;
}

/* Responsive styles */
@media (max-width: 768px) {
    .church-tools-collective {
        padding: 20px;
        margin: 15px;
        border-radius: 15px;
    }

    .church-tools-collective .collective-title {
        font-size: 2rem;
    }

    .church-tools-collective .collective-word {
        font-size: 1.5rem;
    }

    .church-tools-collective .subject-word {
        font-size: 1.3rem;
    }

    .church-tools-collective .collective-icon {
        font-size: 3rem;
    }

    .church-tools-collective .collective-buttons {
        flex-direction: column;
    }

    .church-tools-collective .collective-btn {
        width: 100%;
        margin: 5px 0;
    }
}
