* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #ffffff;
}

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

.profile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 20px;
    margin-bottom: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 32px;
    height: 32px;
    background: #e3f2fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1976d2;
    font-size: 14px;
}

.user-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.email {
    font-size: 12px;
    color: #666;
}

.logout {
    border: 1px solid #dc3545;
    color: #dc3545;
    background: transparent;
    padding: 6px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    width: fit-content;
    white-space: nowrap;
    min-width: unset;
    transition: all 0.2s ease;
}

.logout:hover {
    background: #dc3545;
    color: white;
}

.card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.card h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.invoice-list {
    margin-top: 0;
}

.invoice-header {
    display: grid;
    grid-template-columns: 1.5fr 1.2fr 0.8fr 1fr 1fr 1fr 0.5fr;
    padding: 10px 16px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 500;
    color: #555;
    font-size: 14px;
}

.invoice-header-item {
    text-align: left;
}

.invoice-item {
    display: grid;
    grid-template-columns: 1.5fr 1.2fr 0.8fr 1fr 1fr 1fr 0.5fr;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.invoice-item:last-child {
    border-bottom: none;
}

.invoice-item:nth-child(odd) {
    background-color: #f8f9fa;
}

.invoice-item:nth-child(even) {
    background-color: #ffffff;
}

.invoice-item:hover {
    background-color: #e9ecef;
}

.invoice-detail {
    font-size: 14px;
    color: #333;
}

.invoice-id {
    font-weight: 500;
}

.invoice-date {
    color: #333;
}

.invoice-amount {
    color: #333;
    font-weight: 500;
}

.invoice-deposit {
    color: #333;
    font-weight: 500;
}

.status-paid {
    color: #333;
}

.status-unpaid {
    color: #dc3545;
    font-weight: 500;
}

.invoice-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.download-icon {
    color: #333;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-icon:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.payment-form {
    margin-top: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #2196f3;
}

.pay-btn {
    width: 100%;
    padding: 12px;
    background: #2196f3;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pay-btn:hover {
    background: #1976d2;
}

.pay-btn.disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.amount-input-container {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    padding: 10px 12px;
    background-color: #f8f9fa;
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
}

.rupee-icon {
    margin-right: 6px;
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

.amount-display {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    flex: 1;
}

.amount-input {
    width: 100%;
    padding: 10px 12px 10px 28px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    box-sizing: border-box;
    transition: border-color 0.2s;
    -moz-appearance: textfield;
}

.amount-input::-webkit-outer-spin-button,
.amount-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.amount-input:focus {
    outline: none;
    border-color: #2196f3;
}

/* Login specific styles */
.login-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h1 {
    color: #333;
    font-size: 24px;
    margin: 0;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: #2196f3;
    border: none;
    color: white;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.login-btn:hover {
    background: #1976d2;
}

.error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    text-align: center;
    display: none;
}

/* View Management */
.view {
    display: none;
}

.view.active {
    display: block;
}

/* Desktop and Tablet Styles */
.content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.logout {
    width: fit-content;
    white-space: nowrap;
    min-width: unset;
}

.invoice-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    body {
        padding: 16px;
    }

    .container {
        padding: 0;
    }

    .profile-bar {
        padding: 12px 16px;
    }

    .avatar {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .name {
        font-size: 14px;
    }

    .email {
        font-size: 12px;
    }

    .logout {
        padding: 4px 12px;
        font-size: 12px;
    }

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

    .card:nth-child(2) {
        order: -1;
        /* This moves the Make Payment card to the top on mobile */
    }

    .invoice-item {
        padding: 16px;
    }

    .invoice-actions {
        margin-top: 0;
        gap: 12px;
    }

    .invoice-amount {
        margin-right: 0;
    }

    .pay-btn {
        padding: 10px;
    }

    .invoice-list {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px; /* Space for scrollbar */
    }
    
    .invoice-container {
        width: 100%;
        overflow-x: auto;
    }
    
    .invoice-header {
        min-width: 900px;
    }
    
    .invoice-item {
        min-width: 900px;
    }
    
    .invoice-detail {
        padding: 8px 4px;
        white-space: nowrap; /* Prevent line breaks in cells */
    }
    
    /* Adjust other mobile styles */
    .card {
        padding: 16px 12px;
        overflow: hidden;
    }
    
    .card h3 {
        margin-bottom: 16px;
    }

    .flat-number-display {
        padding: 8px 12px;
        margin-bottom: 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 12px;
    }

    .container {
        padding: 0;
    }

    .profile-bar {
        padding: 10px 12px;
    }

    .avatar {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .name {
        font-size: 14px;
    }

    .email {
        font-size: 12px;
    }

    .logout {
        padding: 5px 10px;
        font-size: 12px;
    }

    .card {
        padding: 16px;
    }

    .invoice-item {
        padding: 14px;
    }

    .invoice-date {
        font-size: 13px;
    }

    .invoice-amount {
        font-size: 13px;
    }

    .download-icon {
        padding: 6px;
    }
}

/* Payment Success View Styles */
.payment-success-view {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    font-size: 40px;
}

.success-message {
    font-size: 24px;
    color: #333;
    margin-bottom: 16px;
    font-weight: 500;
}

.success-details {
    font-size: 16px;
    color: #666;
    margin-bottom: 24px;
}

.countdown {
    font-size: 14px;
    color: #666;
    margin-top: 16px;
}

.countdown-number {
    font-weight: 500;
    color: #2196f3;
}

.success-amount {
    font-size: 32px;
    color: #28a745;
    font-weight: 600;
    margin-bottom: 32px;
}

/* Payment Error View Styles */
.payment-error-view {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.error-icon {
    width: 80px;
    height: 80px;
    background: #dc3545;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    font-size: 40px;
}

.error-message-text {
    font-size: 24px;
    color: #dc3545;
    margin-bottom: 32px;
    font-weight: 500;
}

/* Transition Styles */
.fade-enter {
    opacity: 0;
}

.fade-enter-active {
    opacity: 1;
    transition: opacity 0.3s ease-in;
}

.fade-exit {
    opacity: 1;
}

.fade-exit-active {
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

/* Loading State Styles */
.loading-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2196f3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

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

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

.loading-text {
    color: #666;
    font-size: 14px;
}

/* Login method toggle buttons */
.login-method-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 10px;
}

.toggle-btn {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    background-color: #f8f8f8;
    color: #666;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.toggle-btn.active {
    background-color: #2196f3;
    color: white;
    border-color: #2196f3;
}

.toggle-btn:hover:not(.active) {
    background-color: #eee;
}

/* Phone login styles */
.phone-input-container {
    display: flex;
    align-items: center;
    border: 2px solid #2196f3;
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.3s ease;
    margin-bottom: 20px;
}

.phone-input-container:focus-within {
    border-color: #0d47a1;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.phone-prefix {
    background-color: #e3f2fd;
    padding: 12px 15px;
    color: #1976d2;
    font-size: 15px;
    border-right: 1px solid #bbdefb;
    font-weight: 500;
}

.phone-input-container input {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-size: 16px;
    height: 50px;
}

.phone-input-container input:focus {
    outline: none;
}

/* OTP resend countdown */
.resend-otp {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

#resendLink {
    color: #2196f3;
    text-decoration: none;
    font-weight: 500;
}

#resendLink:hover {
    text-decoration: underline;
}

/* Due Amount Breakdown Styles */
.due-amount-container {
    margin-bottom: 20px;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 15px;
}

.due-amount-title {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.due-amount-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.breakdown-item, .breakdown-subtotal, .breakdown-fee, .breakdown-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.breakdown-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.breakdown-id {
    font-size: 13px;
    font-weight: 500;
}

.breakdown-date {
    font-size: 12px;
    color: #666;
}

.breakdown-amount {
    font-size: 13px;
    color: #333;
}

.breakdown-subtotal {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed #e0e0e0;
}

.breakdown-fee {
    color: #666;
    font-size: 13px;
}

.breakdown-total {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
    font-weight: 600;
    font-size: 14px;
}

/* Test Code Notification */
.test-code-notification {
    background-color: #fff3cd;
    border: 1px solid #ffecb5;
    border-radius: 4px;
    padding: 10px;
    margin-top: 10px;
    font-size: 13px;
    color: #856404;
}

.test-code {
    font-family: monospace;
    font-weight: bold;
    background-color: #ffffff;
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid #ffeeba;
}

/* Domain Warning Banner */
.domain-warning-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff3cd;
    color: #856404;
    border-bottom: 1px solid #ffeeba;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 9999;
}

.warning-icon {
    font-size: 20px;
    color: #f39c12;
}

.warning-message {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}

.close-warning {
    background: none;
    border: none;
    color: #856404;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
}

.close-warning:hover {
    color: #563d08;
}

/* OTP Help Message */
.otp-help-message {
    margin-top: 15px;
    padding: 12px;
    background-color: #e8f4fd;
    border: 1px solid #c5e0f5;
    border-radius: 4px;
    font-size: 13px;
    color: #0a558c;
}

.help-warning {
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.help-warning i {
    font-size: 16px;
    color: #0a558c;
}

.otp-help-message ul {
    margin: 0;
    padding-left: 20px;
}

.otp-help-message li {
    margin-bottom: 4px;
}

.otp-help-message li:last-child {
    margin-bottom: 0;
}

/* Development Mode Banner */
.dev-mode-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #e5faff;
    color: #0a6685;
    border-bottom: 1px solid #9cd7e6;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10000;
    font-size: 14px;
}

.dev-mode-icon {
    font-size: 20px;
    color: #0a6685;
}

.dev-mode-message {
    flex: 1;
    font-weight: 600;
}

.close-dev-banner {
    background: none;
    border: none;
    color: #0a6685;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
}

.close-dev-banner:hover {
    color: #074257;
}

/* Rate limiting notification */
.rate-limit-notice {
    background-color: #ffe8cc;
    border: 1px solid #ffd399;
    border-radius: 4px;
    padding: 12px;
    margin: 10px 0;
    font-size: 13px;
    color: #855a1b;
}

.rate-limit-notice strong {
    color: #d76e00;
}

/* Enhanced OTP field styling with even higher visibility */
.otp-group {
    padding: 15px;
    background-color: #e6f7ff;
    border: 2px solid #91d5ff;
    border-radius: 6px;
    margin: 20px 0;
    box-shadow: 0 2px 6px rgba(24, 144, 255, 0.15);
    animation: pulse-highlight 2s infinite;
}

.otp-heading {
    font-size: 18px;
    font-weight: 700;
    color: #0056b3;
    margin-bottom: 12px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes pulse-highlight {
    0% {
        box-shadow: 0 2px 6px rgba(24, 144, 255, 0.15);
    }
    50% {
        box-shadow: 0 2px 12px rgba(24, 144, 255, 0.25);
    }
    100% {
        box-shadow: 0 2px 6px rgba(24, 144, 255, 0.15);
    }
}

.otp-group label {
    color: #0056b3;
    font-weight: 500;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
    text-align: center;
}

#otpCode {
    font-size: 24px;
    letter-spacing: 10px;
    text-align: center;
    font-weight: 600;
    color: #0056b3;
    padding: 15px;
    height: 65px;
    border: 2px solid #91d5ff;
    background-color: white;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

#otpCode:focus {
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2), inset 0 1px 3px rgba(0, 0, 0, 0.1);
    outline: none;
}

/* Success message styling */
.success-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Improve phone number input visibility */
.phone-input-container {
    border-color: #0056b3;
}

/* Make recaptcha area stand out */
.recaptcha-container {
    margin: 15px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
}

/* Style improvement for recaptcha rendering */
.grecaptcha-badge { 
    visibility: hidden !important; 
}

.g-recaptcha {
    transform-origin: center;
    -webkit-transform-origin: center;
    margin: 0 auto;
}

/* Button state animations */
.login-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.login-btn:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

.login-btn:disabled {
    background: #92c9ef;
    cursor: not-allowed;
}

.login-btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(100, 100);
        opacity: 0;
    }
}

.flat-number-display {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 10px 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.flat-label {
    font-weight: 500;
    color: #555;
    margin-right: 8px;
}

.flat-value {
    font-weight: 600;
    color: #333;
}

.invoice-flat {
    color: #333;
    font-weight: 500;
}

/* Profile actions section */
.profile-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.change-password-btn {
    border: 1px solid #3399cc;
    color: #3399cc;
    background: transparent;
    padding: 6px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    width: fit-content;
    white-space: nowrap;
    min-width: unset;
    transition: all 0.2s ease;
}

.change-password-btn:hover {
    background: #3399cc;
    color: white;
}

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

.modal-content {
    background-color: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.close-modal {
    font-size: 24px;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s;
}

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

.modal-body {
    padding: 20px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 16px 20px;
    border-top: 1px solid #eee;
    gap: 10px;
}

/* Password strength meter */
.password-strength {
    margin-top: 8px;
}

.strength-meter {
    height: 4px;
    background-color: #eee;
    border-radius: 2px;
    margin-bottom: 4px;
}

.strength-bar {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: width 0.3s, background-color 0.3s;
}

.strength-text {
    font-size: 12px;
    color: #777;
}

/* Strength levels */
.strength-weak .strength-bar {
    width: 33%;
    background-color: #ff4d4f;
}

.strength-medium .strength-bar {
    width: 66%;
    background-color: #faad14;
}

.strength-strong .strength-bar {
    width: 100%;
    background-color: #52c41a;
}

/* Button styles for modals */
.submit-btn, .cancel-btn {
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.submit-btn {
    background: #3399cc;
    color: white;
    border: none;
}

.submit-btn:hover {
    background: #2980b9;
}

.cancel-btn {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.cancel-btn:hover {
    background: #e5e5e5;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    .profile-actions {
        flex-direction: column;
        gap: 8px;
        align-items: flex-end;
    }
    
    .change-password-btn, .logout {
        width: auto;
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .modal-content {
        width: 95%;
    }
}

/* Platform Fee Toggle */
.platform-fee-toggle {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #4CAF50;
}

input:focus + .toggle-slider {
    box-shadow: 0 0 1px #4CAF50;
}

input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.toggle-label {
    font-size: 14px;
    color: #666;
} 