/* Dashboard-Style Refinements */

/* Form inputs with refined border styling */
.form-group input,
.form-group select,
.form-group textarea {
    border: 1px solid #e5e7eb !important;
    border-radius: 0.75rem !important;
    padding: 0.625rem 0.75rem !important;
    font-size: 0.875rem !important;
    transition: all 0.2s ease !important;
    background: white !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none !important;
    border-color: #a855f7 !important;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1) !important;
}

/* Color picker styling - Fixed rounded corners */
input[type="color"]#textColor,
input[type="color"]#bgColor,
.form-group input[type="color"] {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    border: 1px solid #d1d5db !important;
    border-radius: 0.75rem !important;
    padding: 0 !important;
    height: 3rem !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    overflow: hidden !important;
}

input[type="color"]#textColor:hover,
input[type="color"]#bgColor:hover,
.form-group input[type="color"]:hover {
    border-color: #9ca3af !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

input[type="color"]#textColor:focus,
input[type="color"]#bgColor:focus,
.form-group input[type="color"]:focus {
    outline: none !important;
    border-color: #6b7280 !important;
    box-shadow: 0 0 0 2px rgba(107, 114, 128, 0.1) !important;
}

input[type="color"]#textColor::-webkit-color-swatch-wrapper,
input[type="color"]#bgColor::-webkit-color-swatch-wrapper,
.form-group input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0 !important;
    border: none !important;
    border-radius: 0.75rem !important;
}

input[type="color"]#textColor::-webkit-color-swatch,
input[type="color"]#bgColor::-webkit-color-swatch,
.form-group input[type="color"]::-webkit-color-swatch {
    border: none !important;
    border-radius: 0.75rem !important;
}

input[type="color"]#textColor::-moz-color-swatch,
input[type="color"]#bgColor::-moz-color-swatch,
.form-group input[type="color"]::-moz-color-swatch {
    border: none !important;
    border-radius: 0.75rem !important;
}

/* Form labels */
.form-group label,
.form-label {
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: #111827 !important;
    margin-bottom: 0.5rem !important;
}

/* Account type buttons refined */
.flex.gap-3 button[type="button"] {
    border-radius: 0.75rem !important;
    border: 1px solid #e5e7eb !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

.flex.gap-3 button[type="button"]:hover {
    border-color: #d1d5db !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

/* Generate button styling - Black theme */
.generate-btn,
button[type="submit"] {
    background: #2d2d2d !important;
    border: none !important;
    border-radius: 0.75rem !important;
    padding: 0.875rem 1.5rem !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.2s ease !important;
}

.generate-btn:hover,
button[type="submit"]:hover {
    background: #1a1a1a !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

/* Preview container */
.preview-container {
    border: 1px solid #e5e7eb !important;
    border-radius: 0.75rem !important;
    background: #f9fafb !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

/* Credit cost display - Original green style */
.preview-status,
#creditCostDisplay {
    font-size: 0.875rem !important;
    color: #16a34a !important;
    padding: 0.5rem 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    border: none !important;
    text-align: center !important;
    font-weight: 500 !important;
}

/* Modal styling refinements */
.modal {
    border: 1px solid #e5e7eb !important;
    border-radius: 1rem !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.modal h2 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
}

.modal-subtitle {
    font-size: 0.875rem !important;
    color: #6b7280 !important;
}

/* Pro plan buttons */
.pro-plan-btn {
    border: 1px solid #e5e7eb !important;
    border-radius: 0.75rem !important;
    transition: all 0.2s ease !important;
}

.pro-plan-btn:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

/* Credit pack buttons */
.credit-pack-btn {
    border: 1px solid #e5e7eb !important;
    border-radius: 0.75rem !important;
    transition: all 0.2s ease !important;
}

.credit-pack-btn:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-2px) !important;
}

/* Status badges */
.plan-badge,
.subscription-name {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    padding: 0.375rem 0.75rem !important;
    border-radius: 9999px !important;
}

/* Icon containers in feature cards */
.w-12.h-12.rounded-xl {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

/* Subtle hover effects */
.hover\:shadow-md:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

/* Refined text colors */
.text-gray-900 {
    color: #111827 !important;
}

.text-gray-600 {
    color: #6b7280 !important;
}

.text-gray-500 {
    color: #9ca3af !important;
}

/* Download link styling */
#downloadLink {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border: none !important;
    border-radius: 0.75rem !important;
    padding: 0.875rem 1.5rem !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3) !important;
}

#downloadLink:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4) !important;
}

/* Status container */
#statusContainer {
    border: 1px solid #e5e7eb !important;
    border-radius: 0.75rem !important;
    padding: 0.75rem !important;
    background: #f9fafb !important;
}

#statusText {
    font-size: 0.875rem !important;
    color: #374151 !important;
}
