/* Roast My Name Specific Styles */
.tool-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.tool-title {
    color: #4e73df;
    margin-bottom: 15px;
}

.tool-description {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 25px;
}

/* Form Styles */
.roast-form-container {
    background-color: #f8f9fc;
    border-radius: 8px;
    padding: 25px;
    margin-top: 20px;
}

.roast-intensity {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.form-check-label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

/* Roast Result Styles */
.roast-result {
    transition: all 0.3s ease;
}

.roast-intensity-display {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.roast-intensity-display .fa-fire {
    color: #28a745;
}

.roast-intensity-display .fa-fire.medium {
    color: #ffc107;
}

.roast-intensity-display .fa-fire.spicy {
    color: #dc3545;
}

.roast-avatar {
    text-align: center;
    margin-bottom: 15px;
}

.roast-avatar i {
    font-size: 4rem;
    color: #4e73df;
    background-color: #f8f9fc;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.roast-name {
    text-align: center;
    color: #5a5c69;
    margin-bottom: 20px;
}

.roast-content {
    background-color: #f8f9fc;
    border-radius: 8px;
    padding: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
}

.roast-content::before {
    content: '"';
    font-size: 4rem;
    color: rgba(78, 115, 223, 0.1);
    position: absolute;
    top: -10px;
    left: 10px;
    font-family: Georgia, serif;
}

.roast-content::after {
    content: '"';
    font-size: 4rem;
    color: rgba(78, 115, 223, 0.1);
    position: absolute;
    bottom: -40px;
    right: 10px;
    font-family: Georgia, serif;
}

.roast-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Saved Roasts Styles */
.saved-roasts-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 20px;
}

.saved-roast-item {
    background-color: #f8f9fc;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.saved-roast-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.saved-roast-icon {
    font-size: 1.5rem;
    color: #4e73df;
    margin-right: 15px;
    min-width: 40px;
    text-align: center;
}

.saved-roast-content {
    flex: 1;
}

.saved-roast-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.saved-roast-text {
    font-size: 0.9rem;
    color: #6c757d;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.saved-roast-actions {
    display: flex;
    gap: 5px;
}

.saved-roast-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #ddd;
    color: #6c757d;
    transition: all 0.2s ease;
}

.saved-roast-btn:hover {
    background-color: #4e73df;
    color: #fff;
    border-color: #4e73df;
}

.no-saved-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    padding: 20px;
    text-align: center;
}

.no-saved-message i {
    font-size: 2rem;
    margin-bottom: 10px;
    opacity: 0.5;
}

/* How It Works Styles */
.how-it-works {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-icon {
    background-color: #4e73df;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h5 {
    color: #4e73df;
    margin-bottom: 10px;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.modal .share-btn {
    width: auto;
    height: auto;
    border-radius: 4px;
    padding: 8px 15px;
    margin-right: 10px;
}

.share-btn.facebook {
    background-color: #3b5998;
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.whatsapp {
    background-color: #25d366;
}

.share-btn.copy {
    background-color: #6c757d;
}

/* Share Modal */
.share-roast-container {
    background-color: #f8f9fc;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.share-roast-text {
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .roast-actions {
        flex-direction: column;
    }
    
    .roast-actions button {
        width: 100%;
    }
    
    .roast-intensity {
        flex-direction: column;
        gap: 10px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.roast-result.show {
    animation: fadeIn 0.5s ease forwards;
}
