/* Reset and Base Styles */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Header */

.header {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}


/* Authentication Section */

.auth-section {
    padding: 60px 0;
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
    backdrop-filter: blur(10px);
}

.logo-container {
    text-align: center;
    margin-bottom: 40px;
}

.logo-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.app-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: #2d3748;
}

.app-subtitle {
    color: #718096;
    font-size: 1.1rem;
}

.trial-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffecd2, #fcb69f);
    border: 2px solid #f6ad55;
    border-radius: 25px;
    padding: 15px 25px;
    margin-bottom: 35px;
    color: #c05621;
    font-weight: 700;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(246, 173, 85, 0.3);
}

.trial-text {
    font-size: 1rem;
}

.auth-form h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 12px;
    color: #2d3748;
}

.auth-form p {
    text-align: center;
    color: #718096;
    margin-bottom: 35px;
    font-size: 1rem;
}

.demo-button {
    width: 100%;
    background: linear-gradient(135deg, #f6ad55, #ed8936);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 16px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(246, 173, 85, 0.4);
}

.demo-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(246, 173, 85, 0.6);
}

.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
}

.divider span {
    background: white;
    padding: 0 20px;
    color: #718096;
    font-size: 0.9rem;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #4a5568;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 16px 20px;
    padding-left: 50px;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    background: #f7fafc;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
}

.input-group i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    z-index: 1;
    font-size: 1.1rem;
}

.input-group.has-label i {
    top: calc(50% + 18px);
}

.eye-button {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #a0aec0;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: color 0.3s ease;
}

.eye-button:hover {
    color: #667eea;
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.forgot-password {
    background: none;
    border: none;
    color: #f6ad55;
    cursor: pointer;
    font-size: 0.95rem;
    margin-bottom: 25px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 8px;
    border-radius: 8px;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #ed8936;
}

.switch-auth {
    text-align: center;
    color: #718096;
    font-size: 0.95rem;
}

.switch-link {
    background: none;
    border: none;
    color: #667eea;
    cursor: pointer;
    font-weight: 600;
    margin-left: 8px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.switch-link:hover {
    color: #5a67d8;
    background: rgba(102, 126, 234, 0.1);
}

.subscription-info {
    margin-top: 40px;
    text-align: center;
    padding-top: 35px;
    border-top: 2px solid #e2e8f0;
}

.subscription-info h4 {
    margin-bottom: 15px;
    color: #2d3748;
    font-size: 1.2rem;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 15px;
}

.production-note {
    font-size: 0.85rem;
    color: #f6ad55;
    font-style: italic;
    margin-bottom: 20px;
}

.features {
    list-style: none;
    text-align: left;
    max-width: 350px;
    margin: 0 auto;
}

.features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #4a5568;
}

.features li i {
    color: #48bb78;
    margin-right: 12px;
    width: 18px;
    font-size: 0.9rem;
}


/* Subscription Section */

.subscription-section {
    padding: 60px 0;
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.subscription-card {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.subscription-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 35px;
    font-size: 3.5rem;
    color: white;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
}

.subscription-card h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2d3748;
}

.subscription-card p {
    color: #718096;
    margin-bottom: 35px;
    line-height: 1.7;
    font-size: 1.1rem;
}

.trial-status {
    background: linear-gradient(135deg, #fef5e7, #fed7aa);
    border: 2px solid #f6ad55;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    color: #c05621;
}

.trial-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trial-info i {
    font-size: 1.5rem;
}

.trial-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.trial-date {
    font-size: 0.95rem;
}

.price-container {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 40px;
    gap: 8px;
}

.currency {
    font-size: 2rem;
    font-weight: 600;
    color: #667eea;
}

.price-large {
    font-size: 4rem;
    font-weight: bold;
    color: #667eea;
}

.period {
    font-size: 1.3rem;
    color: #718096;
}

.features-list {
    text-align: left;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    color: #4a5568;
    font-size: 1.05rem;
}

.feature-item i {
    color: #48bb78;
    margin-right: 18px;
    width: 22px;
    font-size: 1.1rem;
}

.subscribe-button {
    width: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.subscribe-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.subscribe-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.payment-methods {
    margin-bottom: 30px;
}

.payment-methods p {
    font-size: 0.95rem;
    color: #718096;
    margin-bottom: 15px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #a0aec0;
}

.alternative-payment {
    background: #f7fafc;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    text-align: left;
}

.alt-payment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #667eea;
}

.alternative-payment p {
    font-size: 0.95rem;
    color: #4a5568;
    margin-bottom: 15px;
}

.payment-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.payment-link:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #5a67d8;
}

.alt-payment-note {
    font-size: 0.8rem;
    color: #718096;
    margin-top: 15px;
    margin-bottom: 0;
}

.security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #718096;
}


/* Calculator Section */

.calculator-section {
    padding: 30px 0;
}

.nav-tabs {
    display: flex;
    background: white;
    border-radius: 15px;
    padding: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tab-button {
    flex: 1;
    background: none;
    border: none;
    padding: 15px 20px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
    color: #718096;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.tab-button.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.tab-button:hover:not(.active) {
    background: #f7fafc;
    color: #4a5568;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.calculator-card,
.profile-card,
.settings-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 2px solid #e2e8f0;
}

.card-header h3 {
    font-size: 1.5rem;
    color: #2d3748;
}

.card-header i {
    color: #667eea;
    font-size: 1.8rem;
}

.form-section {
    margin-bottom: 35px;
}

.form-section h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #2d3748;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

.form-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #4a5568;
}

.form-section input,
.form-section select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #f7fafc;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-section input:focus,
.form-section select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

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

.quantity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.quantity-item label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
}

.button-group {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.calculate-button,
.pdf-button {
    flex: 1;
    padding: 18px 25px;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.calculate-button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.calculate-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.pdf-button {
    background: linear-gradient(135deg, #f6ad55, #ed8936);
    color: white;
    box-shadow: 0 4px 15px rgba(246, 173, 85, 0.4);
}

.pdf-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(246, 173, 85, 0.6);
}


/* Results Section */

.result-section {
    margin-top: 40px;
}

.result-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.result-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}

.result-header h3 {
    color: #2d3748;
    font-size: 1.4rem;
}

.result-header i {
    color: #667eea;
    font-size: 1.6rem;
}

.result-section-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2d3748;
    margin: 25px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.result-row:last-child {
    border-bottom: none;
}

.result-label {
    font-weight: 500;
    color: #718096;
}

.result-value {
    font-weight: 600;
    color: #2d3748;
}

.rate-row {
    background: linear-gradient(135deg, #ebf8ff, #bee3f8);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rate-row .result-label {
    color: #2b6cb0;
    font-weight: 600;
}

.rate-row .result-value {
    color: #2b6cb0;
    font-weight: bold;
    font-size: 1.1rem;
}

.total-row {
    background: linear-gradient(135deg, #f0fff4, #c6f6d5);
    padding: 18px;
    border-radius: 12px;
    margin-top: 20px;
    border: 2px solid #9ae6b4;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-row .result-label {
    font-size: 1.2rem;
    font-weight: bold;
    color: #22543d;
}

.total-row .result-value {
    font-size: 1.3rem;
    font-weight: bold;
    color: #22543d;
}


/* Profile Section */

.profile-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 2px solid #e2e8f0;
}

.profile-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.profile-info {
    flex: 1;
}

.profile-info h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #2d3748;
}

.profile-info p {
    color: #718096;
    margin-bottom: 5px;
    font-size: 1rem;
}

.status-badge {
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

.status-badge.trial {
    background: linear-gradient(135deg, #fef5e7, #fed7aa);
    color: #c05621;
}

.status-badge.expired {
    background: linear-gradient(135deg, #fed7d7, #feb2b2);
    color: #c53030;
}

.status-badge.active {
    background: linear-gradient(135deg, #f0fff4, #c6f6d5);
    color: #22543d;
}

.subscription-status {
    margin-bottom: 35px;
}

.status-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.status-header h4 {
    font-size: 1.2rem;
    color: #2d3748;
}

.status-header i {
    color: #667eea;
    font-size: 1.3rem;
}

.status-details {
    background: #f7fafc;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
}

.status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1rem;
}

.status-row:last-child {
    margin-bottom: 0;
}

.status-row span:first-child {
    color: #718096;
    font-weight: 500;
}

.status-row span:last-child {
    color: #2d3748;
    font-weight: 600;
}

.upgrade-section {
    margin-bottom: 35px;
}

.upgrade-banner {
    background: linear-gradient(135deg, #ebf8ff, #bee3f8);
    border: 2px solid #90cdf4;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.upgrade-banner i {
    font-size: 2rem;
    color: #2b6cb0;
}

.upgrade-banner h4 {
    font-size: 1.1rem;
    color: #2b6cb0;
    margin-bottom: 8px;
}

.upgrade-banner p {
    color: #2c5282;
    font-size: 0.95rem;
    margin: 0;
}

.upgrade-button {
    width: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 15px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.upgrade-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.usage-stats {
    margin-bottom: 35px;
}

.usage-stats h4 {
    font-size: 1.2rem;
    color: #2d3748;
    margin-bottom: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 25px;
    background: #f7fafc;
    border-radius: 15px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: #718096;
}

.logout-button {
    width: 100%;
    background: white;
    color: #e53e3e;
    border: 2px solid #e53e3e;
    border-radius: 15px;
    padding: 18px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.logout-button:hover {
    background: #e53e3e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.4);
}


/* Settings Section */

.settings-section {
    margin-bottom: 35px;
}

.settings-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #2d3748;
}

.setting-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.setting-item:hover {
    background: #edf2f7;
    border-color: #667eea;
    transform: translateY(-1px);
}

.setting-item i {
    color: #667eea;
    width: 25px;
    font-size: 1.3rem;
}

.setting-item div {
    flex: 1;
}

.setting-title {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

.setting-desc {
    display: block;
    font-size: 0.9rem;
    color: #718096;
}

.app-info {
    text-align: center;
    margin-top: 50px;
    padding-top: 35px;
    border-top: 2px solid #e2e8f0;
}

.app-info h4 {
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 8px;
}

.app-info p {
    color: #718096;
    margin-bottom: 5px;
}

.version {
    font-size: 0.9rem;
    color: #a0aec0;
    margin-bottom: 25px;
}

.tech-stack p {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 10px;
}

.tech-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #a0aec0;
}


/* Loading Overlay */

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.loading-spinner {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.loading-spinner i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
}

.loading-spinner p {
    font-size: 1.1rem;
    color: #4a5568;
    margin: 0;
}


/* Responsive Design */

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    .header-title {
        font-size: 2rem;
    }
    .header-subtitle {
        font-size: 1rem;
    }
    .auth-card,
    .subscription-card,
    .calculator-card,
    .profile-card,
    .settings-card {
        padding: 30px 25px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .quantity-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    .button-group {
        flex-direction: column;
    }
    .nav-tabs {
        flex-direction: column;
        gap: 8px;
    }
    .tab-button {
        justify-content: flex-start;
        padding: 18px;
    }
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .price-container {
        flex-direction: column;
        gap: 0;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .upgrade-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 15px 0;
    }
    .header-title {
        font-size: 1.5rem;
    }
    .auth-card,
    .subscription-card {
        margin: 20px 10px;
        padding: 25px 20px;
    }
    .quantity-grid {
        grid-template-columns: 1fr;
    }
    .result-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .rate-row,
    .total-row {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .setting-item {
        padding: 15px;
        gap: 15px;
    }
}
