/**
 * SMSTunnel Quick Setup Styles
 */

.smstunnel-quick-setup-wrap {
    max-width: 800px;
    margin: 20px auto;
}

.smstunnel-quick-setup-wrap h1 {
    text-align: center;
    margin-bottom: 30px;
}

/* Setup Card */
.smstunnel-setup-card {
    background: #fff;
    border: 1px solid #e2e4e7;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Steps */
.smstunnel-steps h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.5em;
    color: #1e1e1e;
}

.smstunnel-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.smstunnel-step:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
    padding-bottom: 0;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #2271b1;
    color: #fff;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 600;
    flex-shrink: 0;
    margin-right: 20px;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    color: #1e1e1e;
}

.step-content p {
    margin: 0;
    color: #646970;
}

/* App Buttons */
.app-buttons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.app-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
}

.app-button:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.app-button .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.app-button-android {
    background: #3ddc84;
    color: #000;
}

.app-button-android:hover {
    background: #32c976;
    color: #000;
}

.app-button-ios {
    background: #000;
    color: #fff;
}

.app-button-ios:hover {
    background: #333;
    color: #fff;
}

/* QR Container */
.qr-container {
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin: 20px 0;
}

#qrcode {
    display: inline-block;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#qrcode canvas,
#qrcode img {
    display: block;
}

.qr-hint {
    margin-top: 15px;
    color: #646970;
    font-size: 14px;
}

/* Status */
.smstunnel-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: #f0f6fc;
    border-radius: 4px;
    margin-top: 20px;
}

.smstunnel-status .spinner {
    float: none;
    margin: 0;
}

.smstunnel-status.status-success {
    background: #edfaef;
    color: #00a32a;
}

.smstunnel-status.status-error {
    background: #fcf0f1;
    color: #d63638;
}

.status-icon.dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.status-text {
    font-weight: 500;
}

/* Advanced Link */
.smstunnel-advanced-link {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.smstunnel-advanced-link p {
    margin: 0;
    color: #646970;
}

.smstunnel-advanced-link a {
    text-decoration: none;
    color: #2271b1;
}

.smstunnel-advanced-link a:hover {
    color: #135e96;
}

/* Setup Completed */
.smstunnel-setup-completed {
    background: #fff;
    border: 1px solid #e2e4e7;
    border-radius: 8px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.smstunnel-success-icon {
    margin-bottom: 20px;
}

.smstunnel-success-icon .dashicons {
    font-size: 80px;
    width: 80px;
    height: 80px;
    color: #00a32a;
}

.smstunnel-setup-completed h2 {
    margin: 0 0 15px 0;
    font-size: 2em;
    color: #1e1e1e;
}

.smstunnel-device-info {
    font-size: 1.1em;
    color: #646970;
    margin-bottom: 30px;
}

.smstunnel-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}

.smstunnel-actions .button-hero {
    padding: 12px 30px !important;
    height: auto !important;
}

.smstunnel-reset-link {
    margin: 0;
}

.smstunnel-reset-link a {
    color: #646970;
    text-decoration: none;
    font-size: 13px;
}

.smstunnel-reset-link a:hover {
    color: #d63638;
}

/* Responsive */
@media (max-width: 600px) {
    .smstunnel-setup-card {
        padding: 20px;
    }

    .smstunnel-step {
        flex-direction: column;
    }

    .step-number {
        margin-bottom: 15px;
    }

    .app-buttons {
        flex-direction: column;
        align-items: center;
    }

    .smstunnel-actions {
        flex-direction: column;
    }
}
