/* Wrapper to isolate styles in WP Admin and Frontend */
.ff-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1a1a1a;
    padding: 40px 20px;
    background: transparent;
}

.ff-container {
    max-width: 480px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
}

.ff-header h2 {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -1px;
    margin: 0 0 12px 0;
    line-height: 1.1;
}

.ff-header p {
    font-size: 16px;
    color: #666;
    margin: 0 0 36px 0;
    line-height: 1.5;
}

/* Input Fields */
.ff-input-group {
    margin-bottom: 24px;
}

.ff-input-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #444;
}

.ff-wrapper input[type="text"],
.ff-wrapper input[type="email"],
.ff-wrapper input[type="password"] {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.ff-wrapper input:focus {
    outline: none;
    background: #ffffff;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 1px #1a1a1a;
}

/* Checkboxes */
.ff-checkbox-group {
    margin-bottom: 32px;
}

.ff-checkbox-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #555;
}

.ff-checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    border-radius: 6px;
    accent-color: #1a1a1a;
    cursor: pointer;
}

/* Buttons */
.ff-btn {
    width: 100%;
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px; /* Pill shape like Fruitful */
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    text-align: center;
    display: inline-block;
}

.ff-btn:hover {
    background: #333333;
}

.ff-btn:active {
    transform: scale(0.98);
}

.ff-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.ff-btn-outline {
    background: transparent;
    color: #1a1a1a;
    border: 1px solid #e0e0e0;
}
.ff-btn-outline:hover {
    border-color: #1a1a1a;
    background: transparent;
}

.ff-btn-danger {
    background: #fff0f0;
    color: #d32f2f;
    width: auto;
    padding: 10px 16px;
    font-size: 13px;
    border-radius: 20px;
}
.ff-btn-danger:hover {
    background: #ffe0e0;
}

/* List Items (Backend) */
.ff-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ff-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #fbfbfb;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
}

.ff-list-info strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}
.ff-list-info span {
    font-size: 13px;
    color: #888;
}

/* WP Admin Overrides */
.ff-admin {
    margin-left: -20px; /* Counteract default WP padding to allow full bleed wrapper */
}