/* ==================== 通用Reset样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.5;
    color: #1a1a1a;
    min-height: 100vh;
    padding: 0;
    overflow-x: hidden;
}

/* ==================== 移动端样式 ==================== */
@media (max-width: 767px) {
    body {
        background: #f5f5f5;
    }

    .mobile-container {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        background: white;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        animation: fadeIn 0.3s ease-out;
        position: relative;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    .mobile-header {
        background: white;
        padding: 12px 20px 16px;
        text-align: center;
        position: relative;
        z-index: 1002;
        margin: 0;
    }

    .home-link {
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: #666;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        padding: 6px 12px;
        border-radius: 16px;
        background: #f8f8f8;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .home-link:hover {
        background: #e8e8e8;
        color: #333;
    }

    .mobile-header h1 {
        color: #333;
        font-size: 18px;
        font-weight: 600;
        margin: 0;
        letter-spacing: 0.3px;
    }

    .menu-button {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        width: 30px;
        height: 24px;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        z-index: 1001;
    }

    .menu-button span {
        width: 100%;
        height: 3px;
        background-color: #666;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .menu-button:hover span {
        background-color: #333;
    }

    .menu-button.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-button.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-button.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .dropdown-menu {
        position: absolute;
        top: calc(100% - 16px);
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        border-top: 1px solid #e8e8e8;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 1001;
        max-height: 0;
        overflow: hidden;
    }

    .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        max-height: 300px;
    }

    .menu-item {
        display: flex;
        align-items: center;
        padding: 16px 20px;
        text-decoration: none;
        color: #333;
        border-bottom: 1px solid #f0f0f0;
        transition: background-color 0.2s ease;
    }

    .menu-item:hover {
        background-color: #f8f8f8;
    }

    .menu-item:last-child {
        border-bottom: none;
    }

    .menu-icon {
        font-size: 18px;
        margin-right: 12px;
        width: 24px;
        text-align: center;
    }

    .menu-text {
        font-size: 15px;
        font-weight: 500;
    }

    .mobile-main {
        flex: 1;
        padding: 8px 16px 20px;
        margin: 0;
    }

    .input-section {
        margin-bottom: 20px;
    }

    .input-container {
        background: white;
        border-radius: 2px;
        padding: 16px;
        box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
        border: 1px solid #e8e8e8;
        position: relative;
    }

    .input-container textarea {
        width: 100%;
        border: none;
        outline: none;
        font-size: 16px;
        font-family: inherit;
        resize: none;
        background: transparent;
        color: #333;
        line-height: 1.5;
        padding-bottom: 20px;
    }

    .input-container textarea::placeholder {
        color: #999;
    }

    .char-count {
        position: absolute;
        bottom: 8px;
        right: 12px;
        font-size: 12px;
        color: #999;
        background: rgba(255, 255, 255, 0.9);
        padding: 2px 6px;
        border-radius: 2px;
        pointer-events: none;
    }

    .generate-section {
        text-align: center;
        margin-bottom: 30px;
    }

    .generate-btn {
        background: #2578e3;
        color: white;
        border: none;
        border-radius: 2px;
        padding: 14px 40px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(37, 120, 227, 0.3);
        display: inline-block;
        min-width: 200px;
    }

    .generate-btn:hover {
        background: #1c66c4;
        transform: translateY(-1px);
    }

    .generate-btn:active {
        transform: scale(0.95);
    }

    .generate-btn:disabled {
        opacity: 0.7;
        cursor: not-allowed;
        transform: none;
    }

    .loading {
        text-align: center;
        padding: 20px 0;
        color: #667eea;
    }

    .spinner {
        width: 32px;
        height: 32px;
        border: 3px solid #f3f3f3;
        border-top: 3px solid #667eea;
        border-radius: 50%;
        animation: spin 0.8s linear infinite;
        margin: 0 auto 12px;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    .result-section {
        background: white;
        border-radius: 2px;
        padding: 20px;
        box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
        border: 1px solid #e8e8e8;
        margin-bottom: 20px;
    }

    .qr-result {
        text-align: center;
        margin-bottom: 20px;
    }

    .placeholder {
        padding: 60px 20px;
        color: #8e8e93;
        text-align: center;
    }

    .placeholder-icon {
        font-size: 48px;
        margin-bottom: 12px;
        opacity: 0.6;
    }

    .placeholder p {
        font-size: 16px;
        margin: 0;
    }

    .qr-image {
        width: 50vw;
        border-radius: 2px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        animation: fadeInScale 0.4s ease-out;
    }

    .qr-image-wifi,
    .qr-image-car,
    .qr-image-business-card {
        width: 70vw;
        border-radius: 2px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        animation: fadeInScale 0.4s ease-out;
    }

    @keyframes fadeInScale {
        from {
            opacity: 0;
            transform: scale(0.9);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    .qr-actions {
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .action-btn {
        width: 100%;
        max-width: 280px;
        padding: 16px 20px;
        border: none;
        border-radius: 2px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .save-btn {
        background: #52c41a;
        color: white;
        border: none;
        padding: 16px 20px;
        border-radius: 2px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
        width: 100%;
        max-width: 280px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .save-btn:hover {
        background: #389e0d;
        transform: translateY(-1px);
    }

    .save-btn:active {
        background: #237804;
        transform: scale(0.97);
    }

    .mobile-footer {
        background: white;
        padding: 16px 20px 20px;
        border-top: 1px solid #e5e5e7;
        margin-top: auto;
        margin-bottom: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .tips {
        text-align: center;
    }

    .tips p {
        font-size: 14px;
        color: #8e8e93;
        margin: 0 0 12px 0;
    }

    .company-info {
        text-align: center;
        border-top: 1px solid #f0f0f0;
        padding-top: 12px;
        margin-top: 12px;
    }

    .company-info p {
        font-size: 12px;
        color: #999;
        margin: 4px 0;
        line-height: 1.4;
    }

    .company-info a {
        color: #999;
        text-decoration: none;
    }

    .company-info a:hover {
        color: #2578e3;
        text-decoration: underline;
    }

    .qr-info {
        text-align: center;
    }

    .qr-info-top {
        margin-bottom: 16px;
        text-align: center;
    }

    .content-type {
        color: #00a665;
        font-weight: 600;
        font-size: 15px;
        margin: 0;
        padding: 8px 16px;
        background: #f0f9f4;
        border-radius: 2px;
        display: inline-block;
    }

    .quick-action-btn {
        background: #1890ff;
        color: white;
        border: none;
        padding: 16px 20px;
        border-radius: 2px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
        width: 100%;
        max-width: 280px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .quick-action-btn:hover {
        background: #096dd9;
        transform: translateY(-1px);
    }

    .quick-action-btn:active {
        background: #0050b3;
        transform: scale(0.97);
    }

    .success-text {
        color: #8e8e93;
        font-weight: 500;
        margin: 8px 0 0 0;
        font-size: 13px;
    }

    .error-text {
        color: #ff3b30;
        font-weight: 600;
        padding: 40px 20px;
        text-align: center;
        background: #fff5f5;
        border: 1px solid #ffebee;
        border-radius: 2px;
        margin: 0;
    }

    .decode-result {
        margin-top: 16px;
        padding: 16px;
        background: #f8f9fb;
        border-radius: 2px;
        text-align: left;
    }

    .decode-label {
        font-size: 14px;
        color: #8e8e93;
        margin: 0 0 8px 0;
    }

    .decode-text {
        font-size: 16px;
        color: #2c2c2e;
        font-weight: 500;
        margin: 0;
        word-break: break-all;
        line-height: 1.4;
    }

    .feature-cards-section {
        margin: 30px 0 20px;
        padding: 0 4px;
    }

    .section-title {
        font-size: 16px;
        font-weight: 600;
        color: #333;
        margin: 0 0 16px 0;
        text-align: center;
    }

    .feature-cards-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .feature-card {
        background: white;
        border-radius: 2px;
        padding: 16px 12px;
        text-align: center;
        border: 1px solid #e8e8e8;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
        cursor: pointer;
        transition: all 0.2s ease;
        min-height: 100px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        color: inherit;
    }

    .feature-card:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
        border-color: #2578e3;
        text-decoration: none;
        color: inherit;
    }

    .feature-card:active {
        transform: scale(0.98);
    }

    .feature-card:focus {
        outline: 2px solid #2578e3;
        outline-offset: 2px;
    }

    .card-icon {
        font-size: 24px;
        margin-bottom: 8px;
        display: block;
    }

    .card-title {
        font-size: 14px;
        font-weight: 600;
        color: #333;
        margin-bottom: 4px;
    }

    .card-desc {
        font-size: 12px;
        color: #666;
        line-height: 1.3;
    }

    .modal {
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    .modal-content {
        background: white;
        border-radius: 8px;
        width: 100%;
        max-width: 400px;
        max-height: 90vh;
        overflow-y: auto;
        animation: modalSlideIn 0.3s ease-out;
    }

    @keyframes modalSlideIn {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .modal-header {
        padding: 20px 20px 16px;
        border-bottom: 1px solid #e8e8e8;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .modal-header h3 {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
        color: #333;
    }

    .close {
        font-size: 24px;
        color: #999;
        cursor: pointer;
        line-height: 1;
    }

    .close:hover {
        color: #333;
    }

    .modal-body {
        padding: 20px;
    }

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

    .form-group label {
        display: block;
        font-size: 14px;
        font-weight: 500;
        color: #333;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group select {
        width: 100%;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 16px;
        box-sizing: border-box;
    }

    .form-group input:focus,
    .form-group select:focus {
        outline: none;
        border-color: #2578e3;
        box-shadow: 0 0 0 2px rgba(37, 120, 227, 0.1);
    }

    .form-group input[type="checkbox"] {
        width: auto;
        margin-right: 8px;
    }

    .modal-footer {
        padding: 16px 20px 20px;
        border-top: 1px solid #e8e8e8;
        display: flex;
        gap: 12px;
        justify-content: flex-end;
    }

    .btn-cancel,
    .btn-confirm {
        padding: 10px 20px;
        border: none;
        border-radius: 4px;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .btn-cancel {
        background: #f5f5f5;
        color: #666;
    }

    .btn-cancel:hover {
        background: #e8e8e8;
    }

    .btn-confirm {
        background: #2578e3;
        color: white;
    }

    .btn-confirm:hover {
        background: #1c66c4;
    }

    .header-nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .back-btn {
        background: none;
        border: none;
        color: #2578e3;
        font-size: 16px;
        cursor: pointer;
        padding: 8px;
        border-radius: 4px;
        transition: background-color 0.2s ease;
    }

    .back-btn:hover {
        background-color: rgba(37, 120, 227, 0.1);
    }

    .header-spacer {
        width: 60px;
    }

    .qr-info-section {
        text-align: center;
        margin-bottom: 20px;
    }

    .qr-type-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: #f0f9f4;
        color: #00a665;
        padding: 12px 20px;
        border-radius: 20px;
        font-weight: 600;
        font-size: 15px;
    }

    .qr-display-section {
        text-align: center;
        margin-bottom: 30px;
        padding: 20px;
    }

    .qr-image-large {
        max-width: 50vw;
        width: 100%;
        border-radius: 8px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        animation: fadeInScale 0.4s ease-out;
    }

    .content-details {
        background: white;
        border-radius: 8px;
        padding: 20px;
        margin-bottom: 20px;
        box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
        border: 1px solid #e8e8e8;
    }

    .content-details h3 {
        margin: 0 0 16px 0;
        font-size: 16px;
        color: #333;
        font-weight: 600;
    }

    .details-grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .detail-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
    }

    .detail-label {
        font-size: 14px;
        color: #666;
        font-weight: 500;
    }

    .detail-value {
        font-size: 14px;
        color: #333;
        font-weight: 600;
    }

    .action-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 30px;
        align-items: center;
    }

    .primary-btn {
        background: #2578e3;
        color: white;
    }

    .primary-btn:hover {
        background: #1c66c4;
        transform: translateY(-1px);
    }

    .secondary-btn {
        background: white;
        color: #333;
        border: 2px solid #e8e8e8;
        padding: 14px 20px;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
        min-width: 200px;
    }

    .secondary-btn:hover {
        border-color: #2578e3;
        color: #2578e3;
        transform: translateY(-1px);
    }

    .error-message {
        text-align: center;
        padding: 40px 20px;
        color: #ff3b30;
    }

    .error-icon {
        font-size: 48px;
        margin-bottom: 16px;
        opacity: 0.8;
    }

    .error-message p {
        font-size: 16px;
        margin: 0 0 20px 0;
        color: #666;
    }

    .error-btn {
        background: #ff3b30;
        color: white;
        border: none;
        padding: 12px 24px;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 0.2s ease;
    }

    .error-btn:hover {
        background: #d70015;
    }

    .qr-quick-actions {
        margin-top: 20px;
        display: flex;
        justify-content: center;
    }

    .wifi-form-section {
        margin-bottom: 30px;
    }

    .form-container {
        background: white;
        border-radius: 2px;
        padding: 20px;
        box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
        border: 1px solid #e8e8e8;
    }

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

    .form-group:last-child {
        margin-bottom: 0;
    }

    .form-group input,
    .form-group select {
        width: 100%;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 2px;
        font-size: 16px;
        font-family: inherit;
        box-sizing: border-box;
        background: white;
    }

    .form-group input:focus,
    .form-group select:focus {
        outline: none;
        border-color: #2578e3;
        box-shadow: 0 0 0 2px rgba(37, 120, 227, 0.1);
    }

    .form-group input:disabled {
        background: #f5f5f5;
        color: #999;
    }

    .toggle-password {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        font-size: 16px;
        margin-top: 14px;
    }

    .checkbox-group {
        display: flex;
        align-items: center;
    }

    .checkbox-label {
        display: flex;
        align-items: center;
        cursor: pointer;
        font-size: 14px;
        color: #333;
        margin: 0;
    }

    .checkbox-label input[type="checkbox"] {
        width: auto;
        margin-right: 8px;
        transform: scale(1.2);
    }

    .phone-display-section {
        margin-bottom: 30px;
        padding: 20px 0;
    }

    .phone-info-card {
        background: white;
        border-radius: 12px;
        padding: 30px 20px;
        text-align: center;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
        border: 1px solid #e8e8e8;
        margin: 0 auto;
        max-width: 320px;
    }

    .phone-icon {
        font-size: 48px;
        margin-bottom: 20px;
        opacity: 0.8;
    }

    .phone-number-display {
        margin-bottom: 10px;
    }

    .phone-label {
        font-size: 14px;
        color: #666;
        margin: 0 0 8px 0;
        font-weight: 500;
    }

    .phone-number {
        font-size: 24px;
        font-weight: 600;
        color: #333;
        margin: 0;
        letter-spacing: 1px;
        font-family: 'Courier New', monospace;
    }

    .phone-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
        margin-bottom: 30px;
    }

    .call-btn {
        background: #34c759;
        color: white;
        border: none;
        padding: 16px 24px;
        border-radius: 8px;
        font-size: 18px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
        min-width: 200px;
        box-shadow: 0 3px 12px rgba(52, 199, 89, 0.3);
    }

    .call-btn:hover {
        background: #28a745;
        transform: translateY(-1px);
    }

    .call-btn:active {
        background: #1e7e34;
        transform: scale(0.98);
    }

    .call-btn:disabled {
        background: #ccc;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

    .copy-btn, .sms-btn {
        background: white;
        color: #333;
        border: 2px solid #e8e8e8;
        padding: 14px 20px;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
        min-width: 200px;
    }

    .copy-btn:hover, .sms-btn:hover {
        border-color: #2578e3;
        color: #2578e3;
        transform: translateY(-1px);
    }

    .copy-btn:active, .sms-btn:active {
        transform: scale(0.98);
    }

    .avatar-upload-section {
        text-align: center;
        margin-bottom: 30px;
    }

    .avatar-upload-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .avatar-preview {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        border: 2px dashed #ddd;
        background: #f8f9fa;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .avatar-preview:hover {
        border-color: #2578e3;
        background-color: #f0f4ff;
    }

    .avatar-preview.has-image {
        border: 2px solid #2578e3;
        border-style: solid;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .avatar-preview.has-image:hover .avatar-overlay {
        opacity: 1;
    }

    .avatar-placeholder {
        font-size: 32px;
        color: #999;
        transition: all 0.3s ease;
    }

    .avatar-preview:hover .avatar-placeholder {
        color: #2578e3;
    }

    .avatar-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
        border-radius: 50%;
    }

    .upload-text {
        color: white;
        font-size: 10px;
        font-weight: 500;
    }

    .avatar-tip {
        font-size: 12px;
        color: #666;
        margin: 0;
        line-height: 1.4;
    }

    .form-group.inline {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 16px;
    }

    .form-group.inline label {
        width: 60px;
        margin-bottom: 0;
        flex-shrink: 0;
        text-align: right;
        font-size: 14px;
        font-weight: 500;
        color: #333;
    }

    .form-group.inline input,
    .form-group.inline select,
    .form-group.inline textarea {
        flex: 1;
        margin-bottom: 0;
    }

    .business-card-header {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 20px;
        padding-bottom: 16px;
        border-bottom: 1px solid #f0f0f0;
    }

    .business-card-avatar {
        flex-shrink: 0;
    }

    .avatar-image {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid #ddd;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .business-card-basic-info {
        flex: 1;
        min-width: 0;
    }

    .business-card-name {
        font-size: 18px;
        font-weight: 600;
        color: #333;
        margin: 0 0 6px 0;
        line-height: 1.3;
    }

    .business-card-title {
        font-size: 14px;
        color: #666;
        margin: 0 0 4px 0;
        line-height: 1.4;
    }

    .business-card-company {
        font-size: 14px;
        color: #888;
        margin: 0;
        line-height: 1.4;
    }

    .business-card-contact {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .contact-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 0;
    }

    .contact-icon {
        font-size: 16px;
        width: 20px;
        text-align: center;
        flex-shrink: 0;
    }

    .contact-text {
        font-size: 14px;
        color: #555;
        line-height: 1.4;
        word-break: break-word;
    }

    .mingpian-card {
        background: #fff;
        border-radius: 16px;
        margin: 20px;
        overflow: hidden;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
        border: 1px solid #f0f0f0;
    }

    .mingpian-header {
        background: linear-gradient(135deg, #007AFF, #0056CC);
        padding: 30px 20px;
        display: flex;
        align-items: center;
        gap: 20px;
        color: white;
    }

    .mingpian-header .avatar-circle {
        width: 80px;
        height: 80px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 3px solid rgba(255, 255, 255, 0.3);
        flex-shrink: 0;
    }

    .mingpian-header .avatar-icon {
        font-size: 32px;
        color: white;
    }

    .mingpian-header .contact-name {
        font-size: 24px;
        font-weight: 600;
        margin: 0 0 8px 0;
        color: white;
    }

    .title-company p {
        margin: 4px 0;
        font-size: 14px;
        opacity: 0.9;
        color: white;
    }

    .contact-info-grid {
        padding: 0;
    }

    .info-item {
        display: flex;
        align-items: center;
        padding: 20px;
        border-bottom: 1px solid #f5f5f5;
        gap: 15px;
    }

    .info-item:last-child {
        border-bottom: none;
    }

    .info-icon {
        font-size: 20px;
        width: 24px;
        text-align: center;
        flex-shrink: 0;
    }

    .info-content {
        flex: 1;
        min-width: 0;
    }

    .info-label {
        font-size: 12px;
        color: #666;
        margin-bottom: 4px;
        font-weight: 500;
    }

    .info-value {
        font-size: 16px;
        color: #333;
        font-weight: 500;
        word-break: break-word;
    }

    .info-action {
        background: #007AFF;
        color: white;
        border: none;
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }

    .info-action:hover {
        background: #0056CC;
        transform: scale(1.05);
    }

    .mingpian-actions {
        padding: 20px;
        background: #f8f9fa;
        border-top: 1px solid #e9ecef;
    }

    .mingpian-btn {
        width: 100%;
        padding: 16px 8px;
        border: none;
        border-radius: 12px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-bottom: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
    }

    .primary-btn {
        background: #34C759;
        color: white;
    }

    .primary-btn:hover {
        background: #30B855;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(52, 199, 89, 0.3);
    }

    .secondary-btns {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .secondary-btn {
        background: #F2F2F7;
        color: #007AFF;
        margin-bottom: 0;
    }

    .secondary-btn:hover {
        background: #E5E5EA;
        transform: translateY(-1px);
    }

    .nuoche-card {
        background: #fff;
        border-radius: 16px;
        margin: 20px;
        overflow: hidden;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
        border: 1px solid #f0f0f0;
    }

    .nuoche-header {
        background: linear-gradient(135deg, #FF9500, #FF6B35);
        padding: 30px 20px;
        display: flex;
        align-items: center;
        gap: 20px;
        color: white;
    }

    .car-icon {
        font-size: 48px;
        flex-shrink: 0;
    }

    .nuoche-title h2 {
        font-size: 24px;
        font-weight: 600;
        margin: 0 0 8px 0;
        color: white;
    }

    .nuoche-title p {
        margin: 0;
        font-size: 16px;
        opacity: 0.9;
        color: white;
    }

    .owner-card {
        padding: 24px;
    }

    .owner-info {
        display: flex;
        align-items: center;
        gap: 16px;
        background: #f8f9fa;
        padding: 20px;
        border-radius: 12px;
    }

    .owner-avatar {
        width: 60px;
        height: 60px;
        background: #e9ecef;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        flex-shrink: 0;
    }

    .owner-details h3 {
        font-size: 14px;
        color: #666;
        margin: 0 0 8px 0;
        font-weight: 500;
    }

    .owner-name {
        font-size: 18px;
        font-weight: 600;
        color: #333;
        margin-bottom: 4px;
    }

    .owner-phone {
        font-size: 16px;
        color: #666;
        font-family: monospace;
    }

    .nuoche-actions {
        padding: 0 24px 24px 24px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .nuoche-btn {
        padding: 16px 8px;
        border: none;
        border-radius: 12px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
    }

    .call-btn {
        background: #007AFF;
        color: white;
    }

    .call-btn:hover {
        background: #0056CC;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 122, 255, 0.3);
    }

    .sms-btn {
        background: #34C759;
        color: white;
    }

    .sms-btn:hover {
        background: #30B855;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(52, 199, 89, 0.3);
    }

    .upload-section {
        padding: 30px 20px;
    }

    .upload-container {
        text-align: center;
    }

    .upload-circle {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        border: 3px dashed #ddd;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0 auto 15px;
        cursor: pointer;
        transition: all 0.3s ease;
        background: #fafafa;
    }

    .upload-circle:hover {
        border-color: #007AFF;
        background: #f0f8ff;
        transform: scale(1.05);
    }

    .upload-icon {
        font-size: 32px;
        margin-bottom: 8px;
        opacity: 0.7;
    }

    .upload-note {
        display: block;
        color: #999;
        font-size: 12px;
        margin-top: 10px;
    }

    .uploaded-image {
        margin-top: 20px;
    }

    .uploaded-image img {
        max-width: 100%;
        max-height: 300px;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        margin-bottom: 15px;
    }

    .change-image-btn {
        background: #007AFF;
        color: white;
        border: none;
        padding: 8px 20px;
        border-radius: 20px;
        font-size: 14px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .change-image-btn:hover {
        background: #0056CC;
        transform: translateY(-1px);
    }

    .image-display-section {
        padding: 20px;
        text-align: center;
    }

    .display-image-full {
        width: 85%;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
        margin-bottom: 30px;
        object-fit: contain;
    }

    .image-info {
        background: white;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .info-card {
        padding: 20px;
    }

    .download-btn {
        background: #34C759;
        color: white;
    }

    .download-btn:hover {
        background: #30B855;
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(52, 199, 89, 0.3);
    }

    .share-btn {
        background: #007AFF;
        color: white;
    }

    .share-btn:hover {
        background: #0056CC;
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(0, 122, 255, 0.3);
    }

    .contact-section {
        margin-bottom: 20px;
    }

    .company-intro-card,
    .contact-info-card,
    .service-card {
        background: white;
        border-radius: 16px;
        margin: 0 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }

    .card-header {
        padding: 20px 20px 15px;
        border-bottom: 1px solid #f0f0f0;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .company-icon,
    .contact-icon,
    .service-icon {
        font-size: 24px;
    }

    .card-header h2 {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
        color: #333;
    }

    .card-content {
        padding: 20px;
    }

    .company-name {
        font-size: 20px;
        font-weight: 600;
        color: #007AFF;
        margin: 0 0 15px 0;
    }

    .company-description {
        line-height: 1.6;
        color: #666;
        margin-bottom: 20px;
    }

    .company-features {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .feature-item {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px;
        background: #f8f9fa;
        border-radius: 8px;
    }

    .feature-icon {
        font-size: 16px;
    }

    .feature-text {
        font-size: 14px;
        font-weight: 500;
        color: #333;
    }

    .contact-item {
        padding: 15px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .contact-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .contact-label {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 8px;
        font-weight: 500;
        color: #333;
    }

    .contact-item-icon {
        font-size: 16px;
    }

    .contact-value {
        margin-left: 24px;
    }

    .email-link,
    .website-link {
        color: #007AFF;
        text-decoration: none;
        font-weight: 500;
    }

    .email-link:hover,
    .website-link:hover {
        text-decoration: underline;
    }

    .company-text {
        color: #666;
        font-weight: 500;
    }

    .service-item {
        margin-bottom: 20px;
    }

    .service-item:last-child {
        margin-bottom: 0;
    }

    .service-item h3 {
        margin: 0 0 8px 0;
        font-size: 16px;
        color: #333;
    }

    .service-item p {
        margin: 0;
        line-height: 1.5;
        color: #666;
        font-size: 14px;
    }

    .latest-articles-section {
        margin: 30px 0 20px;
        padding: 0 4px;
    }

    .articles-list {
        background: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
        border: 1px solid #e8e8e8;
    }

    .article-item {
        display: block;
        padding: 16px;
        border-bottom: 1px solid #f0f0f0;
        text-decoration: none;
        color: inherit;
        transition: all 0.2s ease;
    }

    .article-item:last-child {
        border-bottom: none;
    }

    .article-item:hover {
        background: #f8f9fa;
    }

    .article-item:active {
        background: #e9ecef;
    }

    .article-title {
        font-size: 15px;
        font-weight: 500;
        color: #333;
        margin-bottom: 8px;
        line-height: 1.4;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .article-meta {
        display: flex;
        align-items: center;
        gap: 16px;
        font-size: 12px;
        color: #999;
    }

    .article-location,
    .article-views {
        display: flex;
        align-items: center;
        gap: 4px;
    }
}

/* ==================== PC端样式 ==================== */
@media (min-width: 768px) {
    body {
        background: #f5f5f5;
    }

    .mobile-container {
        max-width: 1200px;
        margin: 0 auto;
        background: transparent;
        box-shadow: none;
        display: block;
    }

    .mobile-header {
        background: white;
        padding: 15px 40px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        border-radius: 12px;
        margin: 0 20px 25px 20px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        z-index: 1002;
    }

    .home-link {
        position: static;
        transform: none;
        color: #666;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        padding: 8px 16px;
        border-radius: 8px;
        background: #f5f5f5;
        transition: all 0.2s ease;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        border: 1px solid #e0e0e0;
    }

    .home-link:hover {
        background: #07c160;
        color: white;
        border-color: #07c160;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(7, 193, 96, 0.2);
    }

    .mobile-header h1 {
        font-size: 24px;
        padding: 0;
        text-align: left;
        margin: 0;
        border-bottom: none;
        color: #333;
        font-weight: 600;
        letter-spacing: 0.3px;
    }

    .menu-button {
        display: flex;
        position: static;
        transform: none;
        cursor: pointer;
        width: 30px;
        height: 24px;
        flex-direction: column;
        justify-content: space-between;
        z-index: 1001;
    }

    .menu-button span {
        width: 100%;
        height: 3px;
        background-color: #666;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .menu-button:hover span {
        background-color: #2578e3;
    }

    .menu-button.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-button.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-button.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .dropdown-menu {
        position: absolute;
        top: 100%;
        right: 0;
        left: auto;
        width: 280px;
        margin-top: 10px;
        background: white;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        border-radius: 8px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 1001;
        max-height: 0;
        overflow: hidden;
    }

    .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        max-height: 400px;
    }

    .menu-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
        border-radius: 0;
        text-align: left;
        text-decoration: none;
        color: #333;
        transition: background-color 0.2s ease;
    }

    .menu-item:first-child {
        border-radius: 8px 8px 0 0;
    }

    .menu-item:last-child {
        border-bottom: none;
        border-radius: 0 0 8px 8px;
    }

    .menu-item:hover {
        background: #f0f4ff;
        transform: none;
    }

    .menu-icon {
        font-size: 22px;
        margin-right: 12px;
        margin-bottom: 0;
        width: 28px;
        text-align: center;
    }

    .menu-text {
        font-size: 15px;
        font-weight: 500;
    }

    .mobile-main {
        padding: 0 20px 0 20px;
        display: grid;
        grid-template-columns: 1fr 380px;
        column-gap: 20px;
        row-gap: 0;
        align-items: start;
        margin: 0;
    }

    .input-section {
        margin-bottom: 0;
        grid-column: 1;
        grid-row: 1;
        margin-top: 0;
    }

    .input-container {
        padding: 24px;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        background: white;
        height: 252px;
        display: flex;
        flex-direction: column;
        position: relative;
        border: none;
    }

    .input-container textarea {
        font-size: 16px;
        flex: 1;
        width: 100%;
        border: none;
        outline: none;
        font-family: inherit;
        resize: none;
        background: transparent;
        color: #333;
        line-height: 1.5;
        padding-bottom: 0;
    }

    .input-container textarea::placeholder {
        color: #999;
    }

    .char-count {
        position: absolute;
        bottom: 16px;
        right: 24px;
        font-size: 12px;
        color: #999;
        background: rgba(255, 255, 255, 0.9);
        padding: 2px 6px;
        border-radius: 2px;
        pointer-events: none;
    }

    .generate-section {
        margin-bottom: 0;
        grid-column: 1;
        grid-row: 2;
        margin-top: 25px;
        text-align: center;
    }

    .generate-btn {
        width: 300px;
        height: 60px;
        padding: 0;
        font-size: 18px;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(7, 193, 96, 0.3);
        background: #07c160;
        color: white;
        border: none;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: inline-block;
        min-width: 0;
    }

    .generate-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(7, 193, 96, 0.4);
        background: #06ad56;
    }

    .generate-btn:active {
        transform: scale(0.95);
    }

    .generate-btn:disabled {
        opacity: 0.7;
        cursor: not-allowed;
        transform: none;
    }

    .loading {
        text-align: center;
        padding: 20px 0;
        color: #667eea;
    }

    .spinner {
        width: 32px;
        height: 32px;
        border: 3px solid #f3f3f3;
        border-top: 3px solid #667eea;
        border-radius: 50%;
        animation: spin 0.8s linear infinite;
        margin: 0 auto 12px;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    .feature-cards-section {
        grid-column: 2;
        grid-row: 1 / 3;
        margin: 0;
        padding: 0;
    }

    .section-title {
        display: none;
    }

    .feature-cards-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        display: grid;
    }

    .feature-card {
        padding: 24px 20px;
        height: 156px;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        background: white;
        text-align: center;
        border: 1px solid #e8e8e8;
        cursor: pointer;
        transition: all 0.2s ease;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        color: inherit;
        min-height: 0;
    }

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        border-color: #2578e3;
        text-decoration: none;
        color: inherit;
    }

    .feature-card:active {
        transform: scale(0.98);
    }

    .feature-card:focus {
        outline: 2px solid #2578e3;
        outline-offset: 2px;
    }

    .card-icon {
        font-size: 36px;
        margin-bottom: 12px;
        display: block;
    }

    .card-title {
        font-size: 16px;
        margin-bottom: 6px;
        font-weight: 600;
        color: #333;
    }

    .card-desc {
        font-size: 13px;
        color: #666;
        line-height: 1.3;
    }

    .latest-articles-section {
        grid-column: 1 / 3;
        grid-row: 3;
        margin: 25px 0 0 0;
        padding: 0;
    }

    .articles-list {
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        background: white;
        overflow: hidden;
        border: 1px solid #e8e8e8;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .article-item {
        padding: 18px 20px;
        display: block;
        border-bottom: 1px solid #f0f0f0;
        border-right: 1px solid #f0f0f0;
        text-decoration: none;
        color: inherit;
        transition: all 0.2s ease;
    }

    .article-item:nth-child(2n) {
        border-right: none;
    }
    
    .article-item:nth-last-child(-n+2) {
        border-bottom: none;
    }
    
    .article-item:last-child {
        padding-bottom: 2px;
    }

    .article-item:hover {
        background: #f8f9fa;
    }

    .article-item:active {
        background: #e9ecef;
    }

    .article-title {
        font-size: 15px;
        margin-bottom: 10px;
        font-weight: 500;
        color: #333;
        line-height: 1.4;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .article-meta {
        font-size: 13px;
        display: flex;
        align-items: center;
        gap: 16px;
        color: #999;
    }

    .article-location,
    .article-views {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .mobile-footer {
        background: white;
        border-radius: 12px;
        margin: 25px 20px 0 20px;
        padding: 30px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        border-top: none;
    }

    .tips {
        margin-bottom: 20px;
        text-align: center;
    }

    .tips p {
        font-size: 15px;
        margin: 0;
        color: #8e8e93;
    }

    .company-info {
        display: flex;
        justify-content: center;
        gap: 30px;
        flex-wrap: wrap;
        border-top: 1px solid #f0f0f0;
        padding-top: 20px;
        margin-top: 0;
        text-align: center;
    }

    .company-info p {
        margin: 0;
        font-size: 13px;
        color: #999;
        line-height: 1.4;
    }

    .company-info a {
        color: #999;
        text-decoration: none;
    }

    .company-info a:hover {
        color: #2578e3;
        text-decoration: underline;
    }

    .qr-image {
        width: 200px;
        border-radius: 2px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        animation: fadeInScale 0.4s ease-out;
    }

    .qr-image-wifi,
    .qr-image-car,
    .qr-image-business-card {
        width: 280px;
        border-radius: 2px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        animation: fadeInScale 0.4s ease-out;
    }

    .qr-image-large {
        max-width: 400px;
        width: 100%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        animation: fadeInScale 0.4s ease-out;
    }

    @keyframes fadeInScale {
        from {
            opacity: 0;
            transform: scale(0.9);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    .wifi-form-section {
        margin-bottom: 0;
        grid-column: 1;
        grid-row: 1;
        margin-top: 0;
    }

    .form-container {
        background: white;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        padding: 24px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 20px;
    }

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

    .form-group:last-child {
        margin-bottom: 0;
    }

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

    .form-group input,
    .form-group select {
        width: 100%;
        padding: 12px 16px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        font-size: 15px;
        color: #333;
        background: white;
        transition: all 0.2s ease;
    }

    .form-group input:focus,
    .form-group select:focus {
        outline: none;
        border-color: #07c160;
        box-shadow: 0 0 0 3px rgba(7, 193, 96, 0.1);
    }

    .form-group input::placeholder {
        color: #999;
    }

    .toggle-password {
        position: absolute;
        right: 16px;
        top: 38px;
        cursor: pointer;
        font-size: 18px;
        user-select: none;
    }

    .checkbox-group {
        margin-top: 16px;
    }

    .checkbox-label {
        display: flex;
        align-items: center;
        cursor: pointer;
        font-size: 14px;
        color: #666;
        user-select: none;
    }

    .checkbox-label input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin-right: 8px;
        cursor: pointer;
    }

    .avatar-upload-section {
        text-align: center;
        margin-bottom: 24px;
        grid-column: 1 / -1;
    }

    .form-group.inline {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .form-group.inline label {
        width: auto;
        text-align: left;
        margin-bottom: 0;
    }

    .form-group.inline input,
    .form-group.inline select,
    .form-group.inline textarea {
        width: 100%;
        margin-bottom: 0;
    }

    .avatar-upload-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .avatar-preview {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        border: 3px dashed #e0e0e0;
        background: #f9f9f9;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        cursor: pointer;
        transition: all 0.3s ease;
        overflow: hidden;
    }

    .avatar-preview:hover {
        border-color: #07c160;
        background-color: #f0fdf4;
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(7, 193, 96, 0.15);
    }

    .avatar-preview.has-image {
        border: 3px solid #07c160;
        border-style: solid;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .avatar-preview.has-image:hover .avatar-overlay {
        opacity: 1;
    }

    .avatar-placeholder {
        font-size: 48px;
        color: #999;
        transition: all 0.3s ease;
    }

    .avatar-preview:hover .avatar-placeholder {
        color: #07c160;
        transform: scale(1.1);
    }

    .avatar-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .upload-text {
        color: white;
        font-size: 14px;
        font-weight: 500;
    }

    .avatar-tip {
        font-size: 13px;
        color: #999;
        margin: 0;
    }

    .avatar-preview img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }

    .upload-section {
        margin-bottom: 0;
        grid-column: 1;
        grid-row: 1;
        margin-top: 0;
    }

    .upload-container {
        background: white;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        padding: 40px 24px;
        text-align: center;
    }

    .upload-circle {
        width: 180px;
        height: 180px;
        border-radius: 50%;
        border: 3px dashed #e0e0e0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        cursor: pointer;
        background: #f9f9f9;
        transition: all 0.3s ease;
        position: relative;
    }

    .upload-circle:hover {
        border-color: #07c160;
        background: #f0fdf4;
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(7, 193, 96, 0.15);
    }

    .upload-icon {
        font-size: 64px;
        margin-bottom: 12px;
        opacity: 0.6;
        transition: all 0.3s ease;
    }

    .upload-circle:hover .upload-icon {
        opacity: 1;
        transform: scale(1.1);
    }

    .upload-text {
        font-size: 16px;
        color: #666;
        font-weight: 500;
        transition: color 0.3s ease;
    }

    .upload-circle:hover .upload-text {
        color: #07c160;
    }

    .upload-note {
        display: block;
        font-size: 13px;
        color: #999;
        margin-top: 12px;
    }

    .uploaded-image {
        margin-top: 20px;
    }

    .uploaded-image img {
        max-width: 100%;
        max-height: 300px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        margin-bottom: 16px;
    }

    .change-image-btn {
        padding: 10px 24px;
        background: #f5f5f5;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        color: #666;
        font-size: 14px;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .change-image-btn:hover {
        background: #07c160;
        color: white;
        border-color: #07c160;
    }

    .display-image-full {
        width: 100% !important;
        max-width: 600px !important;
        height: auto !important;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
        margin: 0 auto 30px auto !important;
        object-fit: contain;
        display: block !important;
    }

    .image-display-section {
        padding: 40px;
        text-align: center;
        background: white;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        margin: 25px 0;
    }

    .qr-display-section {
        text-align: center;
        margin-bottom: 0;
        grid-column: 1;
        grid-row: 1;
        margin-top: 0;
    }

    .qr-result {
        background: white;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        padding: 40px;
        text-align: center;
    }

    .content-details {
        background: white;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        padding: 24px;
        margin: 0;
        grid-column: 2;
        grid-row: 1;
    }

    .content-details h3 {
        margin: 0 0 20px 0;
        font-size: 18px;
        color: #333;
        font-weight: 600;
    }

    .details-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .detail-item {
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding: 12px;
        background: #f9f9f9;
        border-radius: 8px;
    }

    .detail-label {
        font-size: 13px;
        color: #999;
        font-weight: 500;
    }

    .detail-value {
        font-size: 15px;
        color: #333;
        word-break: break-all;
    }

    .action-buttons {
        grid-column: 1 / -1;
        grid-row: 2;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 16px;
        margin-top: 25px;
    }

    .action-btn {
        padding: 12px 32px;
        border-radius: 8px;
        font-size: 15px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
        border: none;
    }

    .secondary-btn {
        background: #f5f5f5;
        color: #666;
        border: 1px solid #e0e0e0;
    }

    .secondary-btn:hover {
        background: #07c160;
        color: white;
        border-color: #07c160;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(7, 193, 96, 0.2);
    }
}
