/* 
Theme: Modern (Default)
Description: A polished, high-contrast card UI that looks good on any site.
*/

.gsp-container {
    max-width: 42rem; /* max-w-2xl */
    margin-left: auto;
    margin-right: auto;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.gsp-card {
    background-color: #ffffff;
    border-radius: 0.5rem; /* rounded-lg */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
    padding: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .gsp-card {
        padding: 3rem; /* md:p-12 */
    }
}

.gsp-title {
    font-size: 1.5rem; /* text-2xl */
    line-height: 2rem;
    font-weight: 700; /* font-bold */
    margin-bottom: 1rem;
    text-align: center;
    color: #111827; /* text-gray-900 */
}

.gsp-subtitle {
    font-size: 1.125rem; /* text-lg */
    line-height: 1.75rem;
    color: #4b5563; /* text-gray-600 */
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Form Elements */
.gsp-input, 
.gsp-select, 
.gsp-textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db; /* border-gray-300 */
    background-color: #fff;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.5;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.gsp-input:focus, 
.gsp-select:focus, 
.gsp-textarea:focus {
    outline: none;
    border-color: #3b82f6; /* blue-500 */
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3); /* ring-2 */
}

.gsp-label {
    display: block;
    font-size: 0.875rem; /* text-sm */
    font-weight: 500;
    color: #374151; /* text-gray-700 */
    margin-bottom: 0.25rem;
}

.gsp-required {
    color: #ef4444; /* text-red-500 */
    margin-left: 0.25rem;
}

.gsp-helper-text {
    font-size: 0.75rem; /* text-xs */
    color: #6b7280; /* text-gray-500 */
    margin-top: 0.25rem;
}

/* Buttons */
.gsp-submit-btn {
    width: 100%;
    background-color: #1d4ed8; /* bg-blue-700 */
    color: #ffffff !important;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.125rem; /* text-lg */
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.gsp-submit-btn:hover {
    background-color: #1e40af; /* hover:bg-blue-800 */
    transform: scale(1.02);
}

.gsp-btn-secondary {
    flex: 1;
    background-color: #4f46e5; /* indigo-600 */
    color: #ffffff !important;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
}

.gsp-btn-secondary:hover {
    background-color: #4338ca; /* indigo-700 */
}

.gsp-btn-outline {
    flex: 1;
    background-color: transparent;
    border: 1px solid #d1d5db; /* gray-300 */
    color: #1f2937 !important; /* gray-800 */
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 0.875rem;
}

.gsp-btn-outline:hover {
    border-color: #9ca3af; /* gray-400 */
}

/* Notices */
.gsp-notice {
    font-size: 0.875rem;
    color: #4b5563;
    margin-top: 0.75rem;
    text-align: center;
}

/* Extra Questions Grid */
.gsp-question-group {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Actions Row */
.gemini-share-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.gemini-share-actions.hidden {
    display: none;
}

/* Output Area */
.gsp-output {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #f9fafb; /* bg-gray-50 */
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb; /* border-gray-200 */
    color: #374151;
    line-height: 1.6;
}

.gsp-output h1, .gsp-output h2, .gsp-output h3 {
    color: #111827;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: bold;
}