* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0A0A0A;
    color: #FFFFFF;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
    height: 100vh;
}

.app-container {
    display: grid;
    grid-template-columns: 400px 1fr;
    height: 100vh;
    overflow: hidden;
}

.sidebar {
    width: 400px;
    background: #0A0A0A;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.sidebar-content {
    flex: 1;
    padding: 40px;
    overflow: hidden;
}

.header-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 32px;
}

.use-case-wrapper {
    width: 100%;
}

.use-case-select,
.styled-select {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 15px;
    font-weight: 400;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    transition: all 0.2s ease;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255, 255, 255, 0.4)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 18px !important;
    padding-right: 40px !important;
}

.use-case-select optgroup,
.styled-select optgroup {
    font-weight: 600;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    background: #1A1A1A;
    padding: 8px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.use-case-select option,
.styled-select option {
    font-weight: 400;
    padding: 8px 16px;
    background: #1A1A1A !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.use-case-select option:first-child,
.styled-select option:first-child {
    padding-top: 8px;
}

.use-case-select option:last-child,
.styled-select option:last-child {
    padding-bottom: 8px;
}

.use-case-select optgroup + optgroup,
.styled-select optgroup + optgroup {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.use-case-select option[disabled],
.styled-select option[disabled] {
    color: rgba(255, 255, 255, 0.4) !important;
}

.use-case-select:focus,
.styled-select:focus,
.use-case-select.selected,
.styled-select.selected {
    color: rgba(255, 255, 255, 0.9) !important;
}

.use-case-select:hover,
.styled-select:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.use-case-select:focus,
.styled-select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.2);
}

.divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 -40px 32px -40px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

input[type="text"],
textarea {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 400;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    transition: all 0.2s ease;
}

/* Override autofill styles */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px rgba(0, 0, 0, 0.2) inset !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.9) !important;
    caret-color: rgba(255, 255, 255, 0.9) !important;
    background-color: transparent !important;
    transition: background-color 5000s ease-in-out 0s;
}

input[type="text"]::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

input[type="text"]:hover,
.styled-select:hover,
textarea:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

input[type="text"]:focus,
.styled-select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.2);
}

textarea {
    height: 120px;
    padding: 16px;
    resize: none;
}

.preview-panel {
    position: relative;
    padding: 0;
    background: #0A0A0A;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 10px 10px;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.preview-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        #0A0A0A 0%,
        rgba(10, 10, 10, 0.7) 30%,
        rgba(10, 10, 10, 0.3) 60%,
        transparent 100%
    );
    pointer-events: none;
}

.preview-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 40px;
    min-height: 0;
}

.preview-footer {
    position: fixed;
    bottom: 0;
    right: 0;
    width: calc(100% - 400px);
    height: 60px;
    background: #0A0A0A;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 40px;
    z-index: 100;
}

.preview-footer-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.preview-footer-links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.preview-footer-links a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.preview-header {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    height: 40px;
    background: #0A0A0A;
    border: 1px solid #FF5001;
    border-radius: 6px;
    color: #FF5001;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.login-btn:hover {
    background: #FF5001;
    color: #0A0A0A;
    transform: translateY(-1px);
}

.login-btn svg {
    stroke: currentColor;
}

.login-btn:hover svg {
    stroke: currentColor;
}

.cover-preview {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 2/3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Specific aspect ratios for different types */
.cover-preview[data-type="book_cover"],
.cover-preview[data-type="magazine_cover"] {
    aspect-ratio: 2/3;
    max-width: 400px;
}

.cover-preview[data-type="album_art_digital"],
.cover-preview[data-type="album_art_vinyl"],
.cover-preview[data-type="podcast_cover"],
.cover-preview[data-type="audio_book"] {
    aspect-ratio: 1/1;
    max-width: 400px;
}

.cover-preview[data-type="youtube_thumbnail"] {
    aspect-ratio: 16/9;
    max-width: 640px;
}

/* Banner specific styles */
.cover-preview[data-type="blog_header"],
.cover-preview[data-type="email_banner"] {
    aspect-ratio: 3/1;
    max-width: 900px;
    width: 90%;
}

.cover-preview[data-type="facebook_cover"] {
    aspect-ratio: 2.7/1;  /* Facebook cover aspect ratio */
    max-width: 851px;     /* Facebook cover width */
    width: 90%;
}

.cover-preview[data-type="linkedin_banner"],
.cover-preview[data-type="twitter_header"] {
    aspect-ratio: 4/1;
    max-width: 1000px;
    width: 90%;
}

.cover-preview[data-type="youtube_channel_art"] {
    aspect-ratio: 16/9;
    max-width: 1000px;
    width: 90%;
}

.cover-preview[data-type="website_banner"] {
    aspect-ratio: 5/1;
    max-width: 1000px;
    width: 90%;
}

.cover-preview[data-type="store_banner"] {
    aspect-ratio: 4.5/1;
    max-width: 1000px;
    width: 90%;
}

.cover-preview[data-type="portfolio_banner"] {
    aspect-ratio: 3/1;
    max-width: 1000px;
    width: 90%;
}

.generated-cover {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.generated-cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.preview-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    overflow: hidden;
}

.preview-placeholder svg {
    width: 100%;
    height: 100%;
    padding: 40px;
    opacity: 0.6;
}

/* Banner placeholder specific styles */
.preview-placeholder[data-type="blog_header"] svg,
.preview-placeholder[data-type="email_banner"] svg {
    viewBox: 0 0 900 300;
}

.preview-placeholder[data-type="facebook_cover"] svg {
    viewBox: 0 0 851 315;
}

.preview-placeholder[data-type="linkedin_banner"] svg,
.preview-placeholder[data-type="twitter_header"] svg {
    viewBox: 0 0 1000 250;
}

.preview-placeholder[data-type="youtube_channel_art"] svg {
    viewBox: 0 0 1000 562;
}

.preview-placeholder[data-type="website_banner"] svg,
.preview-placeholder[data-type="store_banner"] svg,
.preview-placeholder[data-type="portfolio_banner"] svg {
    viewBox: 0 0 1000 200;
}

.loading-line {
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 1.5;
}

.preview-placeholder.loading .loading-line {
    animation: loadingPulse 1.5s ease-in-out infinite;
}

@keyframes loadingPulse {
    0% { stroke: rgba(255, 255, 255, 0.2); }
    50% { stroke: rgba(255, 255, 255, 0.5); }
    100% { stroke: rgba(255, 255, 255, 0.2); }
}

.image-controls {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.generated-cover:hover .image-controls {
    opacity: 1;
}

.control-btn {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.control-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
}

.bg-pattern {
    display: none;
}

.sidebar-footer {
    position: relative;
    padding: 20px 40px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #0A0A0A;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 12px;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

.footer-mascot {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    z-index: 10;
}

.footer-mascot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Generate Button */
.generate-button {
    width: 100%;
    height: 48px;
    background: transparent !important;
    border: 1px solid #FF5001;
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.2s ease;
    margin-top: 32px;
    padding: 0 20px;
}

.generate-button span {
    flex: 1;
    text-align: left;
}

.generate-button svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.5;
    transition: transform 0.2s ease;
}

.generate-button:hover {
    background: #FF5001 !important;
    color: #FFFFFF;
}

.generate-button:hover svg {
    transform: translateX(2px);
}

.generate-button:disabled {
    background: transparent !important;
    border-color: rgba(255, 80, 1, 0.5);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
    transform: none;
}

input[type="text"]:disabled,
.styled-select:disabled,
textarea:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

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

.modal.active {
    display: flex !important;
    pointer-events: all !important;
}

.modal-content {
    background-color: #1a1a1a;
    border-radius: 12px;
    padding: 24px;
    width: 90%;
    max-width: 480px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: all !important;
}

.auth-error {
    color: #ff4444;
    background-color: rgba(255, 68, 68, 0.1);
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-align: center;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h2 {
    margin: 0;
    font-size: 24px;
    color: #fff;
}

.close-modal {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
}

.close-modal:hover {
    color: #fff;
}

.limit-message {
    margin-bottom: 24px;
}

.limit-message p {
    margin: 8px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.5;
}

.limit-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.upgrade-btn {
    width: 100%;
    padding: 12px;
    background-color: #FF5733;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.upgrade-btn:hover {
    background-color: #FF7052;
}

.limit-info {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin: 0;
}

#limitModal {
    display: none;
}

.auth-form {
    padding: 24px;
}

.auth-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.auth-form input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 15px;
    font-weight: 400;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    transition: all 0.2s ease;
}

.auth-form input:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.auth-form input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.2);
}

.auth-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.auth-button {
    width: 100%;
    height: 48px;
    background: #FF5001 !important;
    border: none;
    border-radius: 8px;
    color: #0A0A0A;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-button:hover {
    background: #FF5001 !important;
    transform: translateY(-1px);
}

.auth-switch {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

.auth-switch a {
    color: #FFFFFF;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.auth-message {
    padding: 12px;
    margin-bottom: 16px;
    border-radius: 6px;
    font-size: 14px;
}

.auth-message.error {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.2);
    color: #ff4444;
}

.auth-message.success {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.2);
    color: #44ff44;
}

.profile-container {
    position: relative;
    display: inline-block;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.profile-container.active .profile-dropdown {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 220px;
    background: #0A0A0A;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    margin-top: 4px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.dropdown-header {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.profile-email {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.dropdown-menu {
    list-style: none;
    padding: 6px 0;
    margin: 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 8px 16px;
    border: none;
    background: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;
    text-align: left;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    font-family: inherit;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.dropdown-item:active {
    background-color: rgba(255, 255, 255, 0.08);
}

.dropdown-item svg {
    width: 16px;
    height: 16px;
    stroke: rgba(255, 255, 255, 0.7);
    transition: stroke 0.15s ease-in-out;
}

.dropdown-item:hover svg {
    stroke: rgba(255, 255, 255, 0.9);
}

/* Special styling for upgrade button */
#upgradeBtn {
    color: #FF5001;
}

#upgradeBtn svg {
    stroke: #FF5001;
}

#upgradeBtn:hover {
    background-color: rgba(255, 80, 1, 0.1);
}

/* Login button styles */
.login-btn-new {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #0A0A0A;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.login-btn-new:hover {
    background: #A9F00F;
    color: #0A0A0A;
    transform: translateY(-1px);
}

.login-btn-new svg {
    stroke: currentColor;
}

.login-btn-new:hover svg {
    stroke: currentColor;
}

/* Profile Settings Page */
.settings-container {
    min-height: 100vh;
    background: #0A0A0A;
    color: #FFFFFF;
}

.settings-header {
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.back-button {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.back-button:hover {
    color: #FFFFFF;
}

.back-button svg {
    stroke: currentColor;
}

.settings-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.settings-main {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px;
}

.settings-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.settings-section h2 {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 24px 0;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.settings-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.settings-form label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.settings-form input[type="text"] {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-family: inherit;
}

.settings-form input[type="text"]:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.2);
}

.profile-picture-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
}

#profilePicturePreview {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: #1A1A1A;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
}

.upload-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.upload-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.upload-btn svg {
    stroke: currentColor;
}

.settings-form .save-button {
    align-self: flex-end;
    padding: 8px 16px;
    background: #A9F00F;
    border: none;
    border-radius: 6px;
    color: #0A0A0A;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.settings-form .save-button:hover {
    transform: translateY(-1px);
    background: #B5F52B;
}

/* Modal styles */
.modal-content {
    background: #0A0A0A;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    position: relative;
    padding: 24px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.close-modal:hover {
    color: rgba(255, 255, 255, 0.9);
}

.title-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.alpha-chip {
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    margin-left: auto;
}

.vinyl-container {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.vinyl-container .cover-preview,
.vinyl-container .vinyl-preview {
    flex: 1;
    max-width: 400px;
    aspect-ratio: 1/1;
    position: relative;
}

.vinyl-container .preview-label {
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.vinyl-container svg {
    width: 100%;
    height: 100%;
}

.vinyl-preview svg {
    width: 100%;
    height: 100%;
}

.vinyl-preview .sleeve {
    fill: rgba(0, 0, 0, 0.2);
}

.vinyl-preview .vinyl-disc {
    transform-origin: 280px 200px;
    animation: rotate 20s linear infinite;
}

.vinyl-outline {
    stroke-width: 2;
}

.vinyl-groove {
    stroke-width: 0.5;
    opacity: 0.3;
}

.label-outline {
    stroke-width: 1.5;
}

.spindle-hole {
    stroke-width: 1;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Loading animation for vinyl */
.vinyl-preview .loading-line {
    stroke: rgba(255, 255, 255, 0.2);
}

.vinyl-preview.loading .loading-line {
    animation: vinylPulse 2s ease-in-out infinite;
}

@keyframes vinylPulse {
    0%, 100% {
        stroke: rgba(255, 255, 255, 0.2);
    }
    50% {
        stroke: rgba(255, 255, 255, 0.4);
    }
}

.vinyl-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.vinyl-container .vinyl-preview img {
    border-radius: 50%;
}

/* Vinyl hover effects */
.vinyl-container .cover-preview:hover img,
.vinyl-container .vinyl-preview:hover img {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Vinyl container in generated cover */
#generatedCover .vinyl-container {
    margin-bottom: 1rem;
}

#generatedCover .vinyl-container .preview-label {
    bottom: -25px;
}

/* Image controls for vinyl layout */
.vinyl-container + .image-controls {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Vinyl-specific styles */
.vinyl-preview .sleeve {
    fill: rgba(0, 0, 0, 0.2);
}

.vinyl-outline,
.vinyl-groove,
.label-outline,
.spindle-hole {
    stroke-width: 1.5;
}

.vinyl-groove {
    opacity: 0.3;
}

@keyframes loadingPulse {
    0% { stroke: rgba(255, 255, 255, 0.2); }
    50% { stroke: rgba(255, 255, 255, 0.5); }
    100% { stroke: rgba(255, 255, 255, 0.2); }
}

.preview-header .login-btn {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 16px !important;
    height: 40px !important;
    background: #0A0A0A !important;
    border: 1px solid #FF5001 !important;
    border-radius: 6px !important;
    color: #FF5001 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.preview-header .login-btn:hover {
    background: #FF5001 !important;
    color: #0A0A0A !important;
    transform: translateY(-1px) !important;
}

.preview-header .login-btn svg {
    stroke: currentColor !important;
}

.preview-header .login-btn:hover svg {
    stroke: currentColor !important;
}

.logo-text {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 64px;
    font-weight: 100;
    font-variation-settings: 'wght' 100;
    color: #A9F00F;
    margin: 0;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #A9F00F 0%, rgba(169, 240, 15, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

/* Portfolio banner specific styles */
.cover-preview[data-type="portfolio_banner"] {
    aspect-ratio: 3/1;
    max-width: 1000px;
    width: 90%;
}

.preview-placeholder[data-type="portfolio_banner"] svg {
    viewBox: 0 0 1000 200;
}

/* Add portfolio-specific placeholder styling if needed */
.preview-placeholder[data-type="portfolio_banner"] {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.login-btn-new {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    height: 40px;
    background: #0A0A0A;
    border: 1px solid #A9F00F;
    border-radius: 6px;
    color: #A9F00F;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.login-btn-new:hover {
    background: #A9F00F;
    color: #0A0A0A;
    transform: translateY(-1px);
}

.login-btn-new svg {
    stroke: currentColor;
}

.login-btn-new:hover svg {
    stroke: currentColor;
}

/* New Modal Styles */
.modal-content-new {
    background-color: #1a1a1a;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: 1fr 300px;
    overflow: hidden;
}

.modal-left {
    padding: 48px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}

.modal-right {
    background: #1a1a1a;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-right .modal-mascot {
    width: 80%;
    height: 80%;
    background: url('/static/images/mascot.svg') no-repeat center;
    background-size: contain;
}

.logo-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.pixel-logo {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 64px;
    font-weight: 100;
    font-variation-settings: 'wght' 100;
    color: #A9F00F;
    margin: 0;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #A9F00F 0%, rgba(169, 240, 15, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    text-align: left;
}

.tagline {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 24px;
    color: #FF5001;
    font-weight: 500;
    margin: 0;
}

.auth-section {
    width: 100%;
}

.google-signin-btn {
    width: 360px;
    height: 48px;
    background: #FFFFFF;
    border: none;
    border-radius: 8px;
    color: #000000;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
}

.google-signin-btn:hover {
    background: #F5F5F5;
    transform: translateY(-1px);
}

.terms-section {
    text-align: left;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    width: 360px;
}

.terms-section a {
    color: #A9F00F;
    text-decoration: none;
}

.terms-section a:hover {
    text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .modal-content-new {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .modal-right {
        display: none;
    }

    .modal-left {
        padding: 32px;
    }

    .pixel-logo {
        font-size: 36px;
    }

    .tagline {
        font-size: 20px;
    }
}

/* Beta Modal specific styles */
.beta-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.beta-message {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.beta-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.beta-form input[type="email"],
.beta-form select {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 400;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    transition: all 0.2s ease;
}

.beta-form input[type="email"]::placeholder,
.beta-form select {
    color: rgba(255, 255, 255, 0.4);
}

.beta-form input[type="email"]:hover,
.beta-form select:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.beta-form input[type="email"]:focus,
.beta-form select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.2);
}

.beta-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255, 255, 255, 0.4)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
}

.beta-submit {
    width: 100%;
    height: 48px;
    background: #A9F00F;
    border: none;
    border-radius: 8px;
    color: #0A0A0A;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.beta-submit:hover {
    transform: translateY(-1px);
    background: #B5F52B;
}

/* Style for readonly email input */
.beta-form input[type="email"][readonly] {
    background: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.6);
    cursor: not-allowed;
}

/* Contact Modal specific styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    padding: 12px 16px;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-button {
    width: 100%;
    height: 48px;
    background: #A9F00F;
    border: none;
    border-radius: 8px;
    color: #0A0A0A;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.submit-button:hover {
    transform: translateY(-1px);
    background: #B5F52B;
}

/* Loading spinner styles */
.spinner {
    animation: rotate 2s linear infinite;
    width: 20px;
    height: 20px;
}

.spinner .path {
    stroke: #4285F4;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

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

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

.google-signin-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.dropdown-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.dropdown-item.disabled svg {
    stroke: rgba(255, 255, 255, 0.4);
}
