/* ==========================================================================
   Ausmalfotos Partner Dashboard
   ========================================================================== */

.ausmal-dashboard {
    max-width: 720px;
}

/* ---------- Tabs ---------- */
.ausmal-dashboard__tabs {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 32px;
    gap: 0;
}

.ausmal-dashboard__tab {
    flex: 1;
    text-align: center;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 500;
    color: #888;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
}

.ausmal-dashboard__tab:hover {
    color: #555;
}

.ausmal-dashboard__tab--active {
    color: #2e7d32;
    border-bottom-color: #2e7d32;
    font-weight: 600;
}

/* ---------- Status Banner ---------- */
.ausmal-dashboard__status {
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 28px;
}

.ausmal-dashboard__status--pending,
.ausmal-dashboard__status--onboarding_incomplete {
    background: #fff3e0;
    color: #e65100;
    border: 1px solid #ffe0b2;
}

.ausmal-dashboard__status--pending_review {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #bbdefb;
}

.ausmal-dashboard__status--active {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

/* ---------- Section ---------- */
.ausmal-dashboard__section {
    margin-bottom: 36px;
}

.ausmal-dashboard__section-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px;
}

.ausmal-dashboard__section-desc {
    font-size: 14px;
    color: #888;
    margin: 0 0 24px;
}

/* ---------- Checklist ---------- */
.ausmal-checklist {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ausmal-checklist__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    color: #666;
}

.ausmal-checklist__item:last-child {
    border-bottom: none;
}

.ausmal-checklist__icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    flex-shrink: 0;
    background: #f0f0f0;
    color: #bbb;
}

.ausmal-checklist__item--done .ausmal-checklist__icon {
    background: #e8f5e9;
    color: #2e7d32;
}

.ausmal-checklist__item--done {
    color: #333;
}

.ausmal-checklist__item--done span:not(.ausmal-checklist__icon) {
    text-decoration: line-through;
    color: #aaa;
}

.ausmal-checklist__link {
    margin-left: auto;
    font-size: 13px;
    color: #2e7d32;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.ausmal-checklist__link:hover {
    text-decoration: underline;
}

/* ---------- Partner Link Box ---------- */
.ausmal-dashboard__link-box {
    display: flex;
    gap: 8px;
    align-items: center;
}

.ausmal-dashboard__link-input {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: #f9f9f9;
    color: #333;
}

.ausmal-dashboard__link-box .ausmal-btn {
    white-space: nowrap;
    flex-shrink: 0;
}

/* ---------- Stats ---------- */
.ausmal-dashboard__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.ausmal-dashboard__stat {
    text-align: center;
    padding: 24px 16px;
    background: #f9f9f9;
    border-radius: 12px;
    border: 1px solid #eee;
}

.ausmal-dashboard__stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
}

.ausmal-dashboard__stat-label {
    font-size: 13px;
    color: #888;
    margin-top: 4px;
}

/* ---------- Forms ---------- */
.ausmal-dashboard__form .ausmal-form-row {
    margin-bottom: 18px;
}

.ausmal-dashboard__form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.ausmal-dashboard__form label small {
    font-weight: 400;
}

.ausmal-dashboard__form input[type="text"],
.ausmal-dashboard__form input[type="email"],
.ausmal-dashboard__form input[type="tel"],
.ausmal-dashboard__form input[type="url"],
.ausmal-dashboard__form input[type="password"],
.ausmal-dashboard__form select,
.ausmal-dashboard__form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    background: #fff;
    transition: border-color 0.2s;
}

.ausmal-dashboard__form input:focus,
.ausmal-dashboard__form select:focus,
.ausmal-dashboard__form textarea:focus {
    border-color: #2e7d32;
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.ausmal-form-hint {
    font-size: 12px;
    color: #aaa;
    margin: 4px 0 0;
}

.ausmal-form-success {
    color: #2e7d32;
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

/* ---------- Image Upload Boxes ---------- */
.ausmal-form-row-group {
    display: flex;
    gap: 20px;
    margin-bottom: 18px;
}

.ausmal-form-row--half {
    flex: 1;
    margin-bottom: 0 !important;
}

.ausmal-upload-box {
    width: 100%;
    aspect-ratio: 1;
    max-width: 200px;
    border: 2px dashed #ddd;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s;
    background: #fafafa;
}

.ausmal-upload-box:hover {
    border-color: #2e7d32;
}

.ausmal-upload-placeholder {
    font-size: 14px;
    color: #aaa;
    text-align: center;
}

.ausmal-upload-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ausmal-upload-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ausmal-upload-input {
    display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
    .ausmal-dashboard__tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .ausmal-dashboard__tab {
        font-size: 13px;
        padding: 12px 10px;
        white-space: nowrap;
    }

    .ausmal-dashboard__stats {
        grid-template-columns: 1fr;
    }

    .ausmal-dashboard__link-box {
        flex-direction: column;
    }

    .ausmal-dashboard__link-box .ausmal-btn {
        width: 100%;
    }

    .ausmal-form-row-group {
        flex-direction: column;
    }

    .ausmal-upload-box {
        max-width: 150px;
    }
}
