* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #15202b;
    color: #ffffff;
    min-height: 100vh;
    padding: 20px;
}

.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.editor-panel {
    background: #192734;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.editor-panel h1 {
    color: #1d9bf0;
    margin-bottom: 25px;
    font-size: 24px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #8b98a5;
    font-size: 14px;
    font-weight: 500;
}

.input-group input[type="text"],
.input-group input[type="file"],
.input-group select {
    width: 100%;
    padding: 12px;
    background: #253340;
    border: 1px solid #38444d;
    border-radius: 8px;
    color: #ffffff;
    font-size: 15px;
    font-family: inherit;
}

.input-group input[type="text"]:focus,
.input-group select:focus {
    outline: none;
    border-color: #1d9bf0;
}

.input-group input[type="file"] {
    cursor: pointer;
}

.date-selectors {
    display: flex;
    gap: 10px;
}

.date-selectors select {
    flex: 1;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #ffffff;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.primary-btn {
    width: 100%;
    padding: 14px;
    background: #1d9bf0;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
}

.primary-btn:hover {
    background: #1a8cd8;
}

.preview-panel {
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-frame {
    background: #000000;
    border-radius: 0;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 400px;
    width: 100%;
}

/* X Card Styles */
.x-card {
    background: #000000;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Header - Centered */
.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 16px 16px;
    gap: 12px;
}

.avatar-container {
    display: flex;
    justify-content: center;
}

.avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: block;
}

.name-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
}

.name-container h2 {
    font-size: 20px;
    font-weight: 800;
    color: rgb(231, 233, 234);
    margin: 0;
    line-height: 24px;
}

.verified-badge {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: #1d9bf0;
}

.x-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.affiliate-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* Info List - Left Aligned */
.info-list {
    display: flex;
    flex-direction: column;
    padding: 0 16px;
}

.info-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    align-items: center;
}

.icon-wrapper {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper svg {
    width: 20px;
    height: 20px;
    fill: rgb(231, 233, 234);
}

.icon-wrapper img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.content-wrapper {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.label {
    font-size: 15px;
    line-height: 20px;
    color: rgb(231, 233, 234);
    font-weight: 700;
}

.value {
    font-size: 15px;
    line-height: 20px;
    color: rgb(113, 118, 123);
    font-weight: 400;
}

.sub-label {
    font-size: 15px;
    line-height: 20px;
    color: rgb(113, 118, 123);
}

.affiliate-handle {
    color: #e4964d;
    font-weight: 400;
}

.x-icon {
    fill: rgb(231, 233, 234);
}

.verified-item,
.affiliate-item {
    display: none;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }

    .phone-frame {
        max-width: 100%;
    }
}