[hidden] {
    display: none !important;
}

.smm-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 99998;
}

.smm-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    width: min(600px, 94%);
    max-height: calc(100% - 3.5rem);
    background: #fff;
    padding: 3rem;
    font-size: 1rem;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    transform: translate(-50%, -50%);
    z-index: 99999;
    box-sizing: border-box;
}

.smm-modal * {
    box-sizing: border-box;
}

.smm-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: 0;
    background: transparent;
    font-size: 1.5rem;
    opacity: 0.5;
    cursor: pointer;
}

.smm-close:hover {
    opacity: 1;
}

.smm-back {
    position: absolute;
    top: 1rem;
    left: 1rem;
    border: 0;
    background: transparent;
    font-size: 1.5rem;
    opacity: 0.5;
    cursor: pointer;
}

.smm-back:hover {
    opacity: 1;
}

.smm-field {
    display: block;
    margin: 1rem 0;
}

.smm-input-icon {
    position: relative;
}

.smm-input-icon i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c5ce7;
    font-size: 1.25rem;
}

.smm-input-icon input {
    width: 100%;
    font-size: 1rem;
    padding: 1.5rem 1rem 1.5rem 2.75rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
}

.smm-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 18px 0;
    font-size: 1rem;
    font-weight: bold;
}

.smm-btn {
    width: 100%;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 0;
    cursor: pointer;
    font-size: inherit;
    font-weight: 600;
    background: linear-gradient(90deg, #ff5c7a, #a84bff);
    color: #fff;
}

.smm-btn .spinner {
    margin-left: 8px;
}

.smm-trust {
    margin-top: 1.5rem;
    text-align: center;
    color: #666;
    font-size: 1rem;
}

.smm-profile-card {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin: 1rem 0 1.5rem 0;
}

.smm-profile-card img {
    border-radius: 50%;
    width: 90px;
    height: 90px;
    object-fit: cover;
}

.smm-profile-card .info {
    flex: 1;
}

.smm-profile-card .stats {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
}

.smm-profile-card .bio {
    margin-top: 0.5rem;
    color: #444;
    font-size: 0.9rem;
}

.smm-profile-card h3 {
    margin: 0;
}

.smm-payments {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.smm-payment {
    display: block;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    padding: 1rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.smm-payment:hover {
    border-color: #a84bff;
    background: #faf7ff;
}

.smm-payment input[type="radio"] {
    margin-right: 0.5rem;
}

.smm-payment-fields {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

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

#smm-processing {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 99999999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

#smm-processing > .spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #6c5ce7;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

#smm-processing > p {
    margin: 0.5rem 0 0 0;
}

#smm-processing > p.processing {
    margin-top: 1.5rem;
    font-size: 1.25rem;
    font-weight: bold;
}

.smm-maxheight {
    max-height: calc(100vh - 9.5rem);
    overflow-y: auto;
}

.smm-post-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin: 1rem 0 1.5rem 0;
}

.smm-post-card img {
    border-radius: 0.5rem;
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.smm-post-card .info {
    flex: 1;
    font-size: 0.9rem;
}

.smm-post-card .stats {
    margin-top: 0.5rem;
    display: flex;
    gap: 1rem;
    color: #444;
}
