/* Frontend Tools Templates Style CSS */

/* Main container for frontend tools, with max width, centered alignment, background gradient, and rounded corners */
.smartgen-tool {
    width: 100%;
    max-width: 700px;
    margin: 40px auto;
    padding: 30px;
    background: linear-gradient(135deg, #e0e0e0, #ffffff);
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
    overflow: hidden;
}

/* Tool title with uppercase style, custom font, gradient color effect, and animation */
.smartgen-tool-title {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(to right, #0073aa, #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeIn 1s ease-in-out forwards;
}

/* Fade-in animation for tool title */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tool image styling with rounded corners, shadow, and hover scaling effect */
.smartgen-tool-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.smartgen-tool-image:hover {
    transform: scale(1.05);
}

/* Input group styling for alignment and spacing */
.smartgen-input-group {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    gap: 15px;
}

/* Input field styling with padding, border, and box shadow for interactive effect */
.smartgen-user-input {
    width: 70%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease;
}

.smartgen-user-input:focus {
    border-color: #00c6ff;
    outline: none;
}

/* Generate button with gradient background, rounded corners, and shadow */
.smartgen-generate-button {
    padding: 12px 25px;
    background: linear-gradient(45deg, #0073aa, #00c6ff);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.smartgen-generate-button:hover {
    background: linear-gradient(45deg, #00c6ff, #0073aa);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Loading container for centered alignment */
.smartgen-loading {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Loading image within the loading container */
.smartgen-loading-image {
    max-width: 50px;
}

/* List styling for generated results */
.smartgen-results {
    list-style-type: none;
    padding: 0;
    margin-top: 20px;
}

/* Individual result item styling with padding, shadow, and rounded corners */
.smartgen-results li {
    padding: 12px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    font-family: 'Poppins', sans-serif;
}

/* Titles Templates Styles CSS */

/* Container for titles results with padding, shadow, and card-like appearance */
.smartgen-results-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Header styling for titles results */
.smartgen-results-container h2 {
    font-family: 'Arial', sans-serif;
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

/* Unordered list for displaying titles */
.smartgen-titles-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

/* Individual title item with padding, shadow, and spacing */
.smartgen-title-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #eee;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Text within each title item */
.smartgen-title-item span {
    font-size: 16px;
    color: #555;
}

/* Copy button styling with background color and padding */
.smartgen-copy-button {
    padding: 5px 10px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.smartgen-copy-button:hover {
    background-color: #005f8d;
}

/* Styling for no titles message */
.no-titles-msg {
    font-size: 16px;
    color: #888;
    margin-top: 10px;
}

/* Keywords Template Styles CSS */

/* List for keywords with padding and card-style container */
.smartgen-keywords-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.smartgen-keyword-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #eee;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Message styling when no keywords are generated */
.no-keywords-msg {
    font-size: 16px;
    color: #888;
    margin-top: 10px;
}

/* Story Template Style CSS */

/* Story section styling with padding, shadow, and background color */
.smartgen-story {
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #e6e6e6;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    line-height: 1.6;
}

/* Story paragraph text styling */
.smartgen-story p {
    font-size: 16px;
    color: #555;
}

/* Message displayed when no story content is generated */
.no-story-msg {
    font-size: 16px;
    color: #888;
    text-align: center;
}

/* Summary Template Style CSS */

/* Summary container with padding, shadow, and background */
.smartgen-summary {
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #e6e6e6;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Summary paragraph text styling */
.smartgen-summary p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* Message displayed when no summary is generated */
.no-summary-msg {
    font-size: 16px;
    color: #888;
    text-align: center;
}

/* Key points list within summary template */
.smartgen-key-points-list {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

/* Individual key point styling within the list */
.smartgen-key-point-item {
    font-size: 15px;
    color: #555;
    margin-bottom: 10px;
}

/* Descriptions Template Style CSS */

/* Descriptions container with shadow, padding, and background color */
.smartgen-description {
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #e6e6e6;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    line-height: 1.6;
}

/* Description text styling */
.smartgen-description p {
    font-size: 16px;
    color: #555;
}

/* Message displayed when no description is generated */
.no-description-msg {
    font-size: 16px;
    color: #888;
    text-align: center;
}

/* Ensure WordPress media uploader retains its default styles */
.media-modal .media-frame-title,
.media-modal .media-menu-item,
.media-modal .media-router {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    background-color: inherit;
    box-shadow: none;
    border: none;
}



