/* ===== 鲜哒荟平台样式 ===== */
:root {
    --xd-primary: #287042;
    --xd-secondary: #4FA772;
    --xd-bg: #F5F9F5;
}

* { box-sizing: border-box; }

.xd-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    min-height: 100vh;
    background: linear-gradient(160deg, #F5F9F5 0%, #E8F3EC 40%, #D4E8D8 100%);
    display: flex;
    justify-content: center;
    padding: 20px;
}

.xd-apply-wrap {
    max-width: 480px;
    width: 100%;
    padding: 20px 0;
}

/* Header */
.xd-apply-header {
    text-align: center;
    margin-bottom: 28px;
}

.xd-logo-circle {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    background: var(--xd-primary);
    border-radius: 50%;
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(40, 112, 66, 0.3);
}

.xd-apply-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--xd-primary);
    letter-spacing: 2px;
}

.xd-apply-sub {
    font-size: 14px;
    color: #5a7a5a;
    margin-top: 6px;
}

.xd-apply-tagline {
    font-size: 13px;
    color: var(--xd-secondary);
    margin-top: 10px;
    letter-spacing: 1px;
}

/* Card */
.xd-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 2px 12px rgba(40, 112, 66, 0.08);
}

/* Alert */
.xd-alert-info {
    background: #E8F5E9;
    border-left: 4px solid var(--xd-primary);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 13px;
    color: #2d5a2d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.xd-alert-success {
    background: #E8F5E9;
    border-left: 4px solid var(--xd-secondary);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: #2d5a2d;
    margin-bottom: 16px;
}

.xd-alert-error {
    background: #FFEBEE;
    border-left: 4px solid #d94e2b;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: #b33a1a;
    margin-bottom: 16px;
}

/* Form */
.xd-form-group {
    margin-bottom: 16px;
}

.xd-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #3a5a3a;
    margin-bottom: 6px;
}

.xd-required {
    color: #d94e2b;
}

.xd-input, .xd-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #c8dac8;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    background: #fff;
    transition: border-color 0.2s;
    outline: none;
    -webkit-appearance: none;
}

.xd-input:focus, .xd-textarea:focus {
    border-color: var(--xd-primary);
}

.xd-textarea {
    resize: vertical;
    font-family: inherit;
}

/* Button */
.xd-btn {
    display: inline-block;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    text-align: center;
}

.xd-btn-primary {
    background: var(--xd-primary);
    color: #fff;
}

.xd-btn-primary:active {
    background: #1f5a32;
}

.xd-btn-block {
    display: block;
    width: 100%;
}

.xd-btn-lg {
    padding: 13px 20px;
    font-size: 16px;
}

/* Footer */
.xd-footer {
    margin-top: 32px;
    text-align: center;
}

.xd-features {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

.xd-feature {
    text-align: center;
}

.xd-feature-icon {
    font-size: 24px;
}

.xd-feature-text {
    font-size: 12px;
    color: #5a7a5a;
    margin-top: 4px;
}

.xd-copyright {
    font-size: 12px;
    color: #a0b0a0;
}
