/* Basic Profile Styles */
.swlm-profile-wrapper {
    max-width: 800px;
    margin: 0 auto;
    font-family: inherit;
}

.swlm-tabs-nav {
    display: flex;
    border-bottom: 2px solid #ddd;
    margin-bottom: 20px;
}

.swlm-tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 16px;
    color: #666;
}

.swlm-tab-btn.active {
    border-bottom-color: #0073aa;
    color: #0073aa;
    font-weight: bold;
}

.swlm-tab-content {
    display: none;
}

.swlm-tab-content.active {
    display: block;
}

/* Status Cards */
.swlm-status-card {
    padding: 20px;
    border-radius: 8px;
    background: #f9f9f9;
    text-align: center;
    border: 1px solid #e5e5e5;
}

.swlm-status-card.swlm-status-accepted {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.swlm-status-card.swlm-status-rejected {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.swlm-status-card.swlm-status-pending {
    background-color: #fff3cd;
    border-color: #ffeeba;
    color: #856404;
}

.swlm-status-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
    background: rgba(0,0,0,0.1);
    font-weight: bold;
    margin: 10px 0;
}

/* Accounts */
.swlm-account-row {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.swlm-account-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swlm-account-details h4 {
    margin: 0 0 5px 0;
}

.swlm-btn-connect {
    margin-top: 5px;
}

/* Form Styles */
.swlm-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.swlm-radio-group {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.swlm-radio-card {
    flex: 1;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: flex-start;
}

.swlm-radio-card:hover {
    border-color: #0073aa;
    background: #f0f7fb;
}

.swlm-radio-card input {
    margin-right: 10px;
    margin-top: 5px;
}

.card-title {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.card-desc {
    font-size: 0.9em;
    color: #666;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.story-counter {
    text-align: right;
    font-size: 0.85em;
    color: #666;
    margin-top: 4px;
}

.story-counter.error {
    color: #dc3232;
}

.swlm-question-block {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.swlm-notice-error {
    padding: 15px;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}

.swlm-notice-success {
    padding: 15px;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
}

.swlm-loader {
    display: inline-block;
    margin-left: 10px;
    color: #666;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .swlm-profile-header {
        flex-direction: column;
        text-align: center;
    }

    .swlm-profile-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .swlm-tabs {
        flex-direction: column;
    }

    .swlm-tab-btn {
        width: 100%;
        margin-bottom: 5px;
        text-align: center;
        padding: 12px;
    }

    .swlm-form-section {
        padding: 15px;
    }

    .swlm-submit-btn {
        width: 100%;
        padding: 14px;
        font-size: 16px;
    }
}

/* Animations & Overlays */
.swlm-fade-in {
    animation: swlmFadeIn 0.5s ease-in-out;
}

@keyframes swlmFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.swlm-loader-overlay {
    background: rgba(255,255,255,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
}
