/* Wedding Tools Plugin Styles v3.3 - Brown Edition */

:root {
    --wt-primary: #8D6E63;
    /* Brown/Mocha */
    --wt-primary-dark: #6D4C41;
    /* Dark Brown */
    --wt-accent: #D7CCC8;
    /* Light Brown */
    --wt-text: #4E342E;
    /* Dark Brown Text */
    --wt-border: #D7CCC8;
}

/* ================== SHARED ================== */
.wt-form-wrapper {
    width: 100%;
    margin: 0 auto;
    color: var(--wt-text);
}

.wt-btn {
    background: linear-gradient(135deg, #8D6E63, #6D4C41);
    /* Brown Gradient */
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 99px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
}

.wt-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(141, 110, 99, 0.4);
}

.wt-form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--wt-border);
    border-radius: 12px;
    font-size: 1.15rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    margin-bottom: 0.8rem;
    color: #4E342E;
}

.wt-form-input:focus {
    outline: none;
    border-color: var(--wt-primary);
    box-shadow: 0 0 0 3px rgba(141, 110, 99, 0.2);
}

/* ================== HASHTAG GEN STYLE (Updated by User) ================== */
/* Scoped to .whg-page-wrapper to strictly prevent conflicts */
.whg-page-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
    /* font-family removed */
}

.whg-page-wrapper * {
    box-sizing: border-box;
}

.whg-main-container {
    width: 100%;
    margin: 0 auto;
}

.whg-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.whg-input-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .whg-input-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.whg-form-group label {
    display: block;
    font-size: 1.5rem !important;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.whg-form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s;
}

.whg-form-input:focus {
    outline: none;
    border-color: #78716c;
    box-shadow: 0 0 0 3px rgba(120, 113, 108, 0.2);
}

.whg-button-container {
    margin-top: 2rem;
    text-align: center;
}

.whg-btn {
    background-color: #57534e;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    padding: 0.75rem 2.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    width: 100%;
}

@media (min-width: 768px) {
    .whg-btn {
        width: auto;
    }
}

.whg-btn:hover {
    background-color: #44403c;
    transform: translateY(-2px);
}

.whg-btn:disabled {
    background-color: #a8a29e;
    cursor: not-allowed;
    transform: none;
}

#whg-results {
    margin-top: 2rem;
}

.whg-result-card {
    background-color: #ffffff;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #f3f4f6;
    animation: whgFadeIn 0.5s ease-in-out;
}

.whg-result-card span {
    font-size: 1.5rem;
    /* Increased size per user request */
    font-weight: 700;
    color: #1f2937;
    flex: 1;
    /* allow text to take more space */
    padding-right: 1rem;
}

.whg-copy-btn {
    background-color: #f5f5f4;
    color: #57534e;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.15s;
}

.whg-copy-btn:hover {
    background-color: #e7e5e4;
}

@keyframes whgFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.whg-toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 16px;
    position: fixed;
    z-index: 9999;
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s linear;
}

.whg-toast.show {
    visibility: visible;
    opacity: 1;
}


/* ================== CLIENT MULTI-STEP FORM (Preserved) ================== */
.wt-multistep-form {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    margin: 2rem auto;
    position: relative;
    overflow: hidden;
}

/* Progress Bar */
.wt-progress-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.wt-progress-fill {
    height: 100%;
    background: #4e342e !important;
    transition: width 0.4s ease;
}

/* Steps */
.wt-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.wt-step.active {
    display: block;
}

.wt-step h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #111827;
    font-size: 1.5rem;
    /* Large Titles */
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 0.5rem;
}

.wt-form-group {
    margin-bottom: 1.5rem;
}

.wt-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    /* Larger labels */
    color: #4b5563;
}

/* Controls */
.wt-step-controls {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}

.wt-btn-prev {
    background: #9ca3af;
    width: auto;
}

.wt-btn-next,
.wt-btn-submit {
    width: auto;
    margin-left: auto;
    /* Push to right */
}

.wt-btn-submit {
    background: #10b981;
    /* Green */
}

/* Message */
#wt-form-message {
    margin-top: 1rem;
    text-align: center;
    font-weight: 600;
}

.wt-success {
    color: #10b981;
}

.wt-error {
    color: #ef4444;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}