/**
 * Styles for Marketing Suite tools
 */

/* Tool Container Styles */
.tool-container {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin: 2rem auto;
}

/* Form Styles */
.tool-form input[type="text"],
.tool-form input[type="email"],
.tool-form textarea,
.tool-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.tool-form input[type="text"]:focus,
.tool-form input[type="email"]:focus,
.tool-form textarea:focus,
.tool-form select:focus {
    outline: none;
    border-color: #e9530d;
    box-shadow: 0 0 0 3px rgba(233, 83, 13, 0.2);
}

.tool-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #4a5568;
}

.tool-form button[type="submit"] {
    background-color: #e9530d;
    color: white;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    transition: background-color 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-form button[type="submit"]:hover {
    background-color: #d44c0d;
}

/* Response Message Styles */
#tool-response .message {
    padding: 1rem;
    border-radius: 0.375rem;
    margin-top: 1.5rem;
}

#success-message {
    background-color: #f0fff4;
    border: 1px solid #c6f6d5;
    color: #2f855a;
}

#error-message {
    background-color: #fff5f5;
    border: 1px solid #fed7d7;
    color: #c53030;
}

#limit-message {
    background-color: #fffbeb;
    border: 1px solid #feebc8;
    color: #c05621;
}

/* Feature Cards */
.feature-card {
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feature-card .icon {
    color: #e9530d;
    margin-bottom: 1rem;
}

/* FAQ Section */
.tool-faq .faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.tool-faq .faq-item:last-child {
    border-bottom: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .tool-container {
        padding: 1.5rem;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
    }
}

/* Loading Spinner Animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}
