/* 👤 Fake Identity Generator Stylesheet */

:root {
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --primary-darker: #3730A3;
    --primary-light: #EEF2FF;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --dark: #1F2937;
    --dark-secondary: #374151;
    --gray: #6B7280;
    --gray-light: #F3F4F6;
    --gray-border: #E5E7EB;
    --white: #FFFFFF;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.fake-identity-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
    width: 100%;
    box-sizing: border-box;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Main Grid Layout */
.generator-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 25px;
    margin-top: 20px;
    align-items: start;
}

@media (max-width: 991px) {
    .generator-grid {
        grid-template-columns: 1fr;
    }
}

/* Left Column: Config Sticky Sidebar */
.sticky-sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (max-width: 991px) {
    .sticky-sidebar {
        position: static;
    }
}

.config-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-border);
    padding: 20px;
    box-shadow: var(--shadow);
}

.config-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--gray-border);
    padding-bottom: 12px;
}

.config-group {
    margin-bottom: 18px;
}

.config-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-secondary);
    margin-bottom: 8px;
}

.config-select {
    width: 100%;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-border);
    font-size: 14px;
    color: var(--dark);
    background-color: var(--white);
    transition: var(--transition);
}

.config-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.btn-generate {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2);
}

.btn-generate:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px -2px rgba(79, 70, 229, 0.3);
}

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

.btn-copy-all {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--white);
    border: 1px solid var(--gray-border);
    color: var(--dark-secondary);
    padding: 11px;
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.btn-copy-all:hover {
    background-color: var(--gray-light);
    color: var(--primary);
    border-color: var(--primary);
}

/* Spinner Animation */
.btn-generate .spinner {
    width: 16px !important;
    height: 16px !important;
    position: static !important;
    display: none;
    animation: rotate 1s linear infinite !important;
}

.btn-generate .spinner::before,
.btn-generate .spinner::after {
    content: none !important;
    display: none !important;
}

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

/* Right Column: Stacked Cards Container */
.details-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.details-card {
    background: var(--white) !important;
    border-radius: var(--radius) !important;
    border: 1px solid var(--gray-border) !important;
    padding: 25px !important;
    box-shadow: var(--shadow) !important;
    transition: var(--transition);
    animation: cardFadeIn 0.3s ease forwards;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.details-card-header {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--gray-border);
    padding-bottom: 12px;
}

.details-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Card Right Corner Copy Button styling */
.btn-copy-card {
    background: transparent;
    border: none;
    color: var(--gray) !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    transition: var(--transition);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
}

.btn-copy-card:hover {
    color: var(--primary) !important;
    background-color: var(--primary-light) !important;
}

/* Profile Intro block inside Profile Card */
.profile-intro {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--gray-border);
}

@media (max-width: 576px) {
    .profile-intro {
        flex-direction: column;
        text-align: center;
    }
}

.avatar-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 16px;
    background-color: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.btn-avatar-download {
    position: absolute;
    bottom: -6px;
    right: -6px;
    background: #60A5FA;
    color: #ffffff !important;
    border: 2.5px solid #ffffff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    padding: 0;
    z-index: 10;
}

.btn-avatar-download:hover {
    background: #3B82F6;
    transform: scale(1.1);
    color: #ffffff !important;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.profile-intro-text h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
}

.profile-intro-text p {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 0;
}

/* Grid of values */
.fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px 20px;
}

.field-item {
    display: flex;
    flex-direction: column;
}

.field-item.full-width {
    grid-column: 1 / -1;
}

.field-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gray);
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.field-value-wrapper {
    display: flex;
    align-items: center;
    background-color: var(--gray-light);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    justify-content: space-between;
    transition: var(--transition);
}

.field-value-wrapper:hover {
    border-color: #cbd5e1;
    background-color: #f8fafc;
}

.field-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    word-break: break-all;
    user-select: all;
}

.field-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin-left: 8px;
}

.btn-icon-copy {
    background: transparent;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-icon-copy:hover {
    color: var(--primary);
    background-color: rgba(79, 70, 229, 0.08);
}

.btn-open-inbox {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white) !important;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.15);
}

.btn-open-inbox:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.25);
}

/* Feature grid items at bottom (Premium details) */
.feat {
    background-color: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feat:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

.feat-icon {
    font-size: 24px;
    color: var(--primary);
    background-color: var(--primary-light);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.feat-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.feat-text {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.5;
    margin-bottom: 0;
}