.info-block p {
    margin: 0;
    color: #333;
}

.info-block .amount {
    font-size: 20px;
    font-weight: 500;
    margin-top: 5px;
}

.currency-list {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.currency-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    text-align: center;
}

.currency-card:hover {
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.currency-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.currency-card.disabled:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transform: none;
}

.flag {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.flag-text {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.flag-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.currency-details {
    width: 100%;
    margin-bottom: 6px;
}

.currency-code {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    margin: 0 0 3px 0;
}

.exchange-rate {
    font-size: 11px;
    color: #666;
    margin: 0;
}

.converted-amount {
    font-weight: 600;
    font-size: 16px;
    color: #004165;
    margin-top: auto;
}

.updated-time {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

/* Confirm Button */
.confirm-button {
    background: #004165;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    width: auto;
}

.confirm-button:hover:not([disabled]) {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: #00324a;
}

.confirm-button[disabled] {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Success Message */
.success-message {
    margin-top: 16px;
    padding: 12px;
    background-color: #e8f5e9;
    color: #2e7d32;
    border-radius: 4px;
    text-align: center;
    opacity: 0;
    height: 0;
    transition: opacity 0.3s, height 0.3s;
}

.success-message.visible {
    opacity: 1;
    height: auto;
}

/* Loading Indicators */
.loading {
    text-align: center;
    padding: 40px 0;
    color: #666;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #004165;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Menu Dots */
.menu-dots {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2px;
}

.dot {
    width: 3px;
    height: 3px;
    background-color: #666;
    border-radius: 50%;
    margin: 1px 0;
}

/* Wallet styles */
.wallet-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.wallet-info {
    margin-bottom: 20px;
}

.balance-amount {
    font-size: 32px;
    font-weight: 600;
    color: #004165;
    margin: 10px 0;
}

.section-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
}

.add-funds-form {
    margin-top: 20px;
}

.form-row {
    margin-bottom: 15px;
}

.nav-button {
    display: inline-block;
    text-align: center;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 24px;
    margin-top: 10px;
    transition: background-color 0.2s;
    border: none;
    outline: none;
    width: auto;
}

.primary-button {
    background-color: #FC335F;
    color: white;
}

.primary-button:hover {
    background-color: #D9294B;
}

.primary-button[disabled] {
    background-color: #cccccc;
    cursor: not-allowed;
}

.back-button {
    background-color: #f5f5f5;
    color: #333;
    margin-top: 20px;
    margin-left: 15px;
    display: flex;
    align-items: center;
    width: fit-content;
}

.back-button:hover {
    background-color: #e0e0e0;
}

.back-button svg {
    margin-right: 8px;
}

/* Notification Styles */
.notification {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.notification.warning {
    background-color: #fff8e1;
    border-left: 4px solid #FC335F;
}

.notification.error {
    background-color: #ffebee;
    border-left: 4px solid #FC335F;
}

.minimum-info {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}

.country-info {
    margin-top: 5px;
    font-size: 13px;
    color: #888;
}

/* Dialog styles */
paper-dialog {
    border-radius: 8px;
    width: 400px;
    padding: 20px;
}

.dialog-title {
    font-size: 20px;
    font-weight: 500;
    color: #FC335F;
    margin: 0 0 15px 0;
}

.dialog-content {
    color: #333;
    line-height: 1.5;
}

.dialog-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

paper-button.primary {
    background-color: #004165;
    color: white;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
}

/* Wallet check styles */
.wallet-status {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.wallet-status.sufficient {
    background-color: #e8f5e9;
    border: 1px solid #66bb6a;
}

.wallet-status.insufficient {
    background-color: #ffebee;
    border: 1px solid #FC335F;
}

.wallet-status .title {
    font-weight: 600;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.wallet-details {
    padding: 0;
    margin: 10px 0 0 0;
    list-style-type: none;
    font-size: 14px;
}

.wallet-details li {
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
}

.wallet-details .label {
    font-weight: 500;
    color: #666;
}

.wallet-details .value {
    font-weight: 600;
}

.dropdown-container {
    margin-top: 15px;
    margin-bottom: 15px;
}

paper-dropdown-menu {
    width: 100%;
}

paper-listbox {
    padding: 0;
}

paper-item {
    cursor: pointer;
}

paper-item:hover {
    background-color: #f5f5f5;
}

/* Footer */
.footer {
    margin-top: 30px;
    padding: 15px;
    text-align: center;
    background-color: #f5f5f5;
}

.footer-logo {
    max-width: 120px;
    margin-bottom: 10px;
}

/* Dashboard Specific Styles */
.personal-dashboard {
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    padding: 0 15px;
}

.dashboard-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    text-align: center;
}

.user-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 10px;
    background-color: #f5f5f5;
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 10px;
    border: 2px solid #004165;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-details {
    text-align: center;
}

.user-name {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
}

.user-id {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.progress-container {
    width: 100%;
    margin: 10px 0;
}

.progress-bar {
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #004165;
}

.progress-text {
    text-align: center;
    font-size: 14px;
    margin-top: 5px;
}

.user-country, .user-currency {
    font-size: 14px;
    margin: 5px 0;
    display: flex;
    justify-content: center;
}

.user-country span, .user-currency span {
    font-weight: bold;
    margin-left: 5px;
}

/* Dashboard Tiles Grid */
.dashboard-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.dashboard-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    border-radius: 10px;
    border: 1px solid #FC335F;
    background-color: white;
    text-align: center;
    min-height: 120px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.dashboard-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tile-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.tile-title {
    font-size: 14px;
    color: #333;
    margin: 0;
}

/* Animation keyframes */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

@keyframes slideInUp {
    from {
        transform: translateY(70px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(30px);
    }
}

@keyframes glow {
    0% { box-shadow: 0 4px 10px rgba(60, 58, 106, 0.3); }
    50% { box-shadow: 0 4px 20px rgba(60, 58, 106, 0.5); }
    100% { box-shadow: 0 4px 10px rgba(60, 58, 106, 0.3); }
}

/* RESPONSIVE STYLES */

/* Large screens (desktops) */
@media (min-width: 1200px) {
    .form-signin {
        width: 50%;
        margin: 0 auto;
        float: none;
    }
    
    .message {
        width: 60%;
        margin-left: auto;
        margin-right: auto;
        float: none;
    }
    
    .img-container img {
        max-width: 800px;
    }
    
    .error-container {
        width: 40%;
    }
    
    .currency-list {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .glass-card {
        max-width: 600px;
    }
    
    .dashboard-tiles {
        grid-template-columns: repeat(3, 1fr);
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .dashboard-tile {
        padding: 20px;
    }
    
    .card-header {
        padding: 35px;
    }
    
    .card-body {
        padding: 25px;
    }
}

/* Medium screens (tablets) */
@media (min-width: 768px) and (max-width: 1199px) {
    .form-signin {
        width: 70%;
        margin: 5% auto;
        float: none;
    }
    
    .message {
        width: 80%;
        font-size: 24px;
        margin-left: auto;
        margin-right: auto;
        float: none;
    }
    
    .page-wrapper {
        flex-direction: column;
    }
    
    .container, .img-container {
        width: 100%;
    }
    
    .header-title {
        font-size: 16px;
    }
    
    .error-container {
        width: 70%;
    }
    
    .currency-list {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .options-container {
        justify-content: center;
    }
    
    .glass-card {
        max-width: 500px;
    }
    
    .dashboard-tiles {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .dashboard-tile {
        min-height: 110px;
    }
    
    .card-header {
        padding: 25px;
    }
    
    .card-body {
        padding: 20px;
    }
    
    .option-card {
        width: 140px;
    }
    
    .header {
        padding: 15px 20px;
    }
    
    .sub-header {
        font-size: 16px;
    }
    
    paper-dialog {
        width: 80%;
        max-width: 500px;
    }
}

/* Small screens (mobile phones) */
@media (max-width: 767px) {
    body {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
     .form-signin {
        width: 90%;
        margin: 5%;
        padding: 10px;
        max-width: 300px;
    }
    
    .personal-pages {
        padding: 12px;
    }
    
    .toggle-password {
        top: 18px; /* Slightly adjusted for smaller screens */
    }
    .message {
        width: 90%;
        height: auto;
        padding: 15px;
        font-size: 20px;
        margin-left: 5%;
        margin-right: 5%;
    }
    
    .header {
        height: auto;
        padding: 10px;
    }
    
    .header img {
        height: 35px;
        margin-right: 8px;
    }
    
    .header-title {
        font-size: 14px;
        text-align: center;
    }
    
    .sub-header {
        font-size: 16px;
    }
    
    .btn-index {
        width: 100%;
        max-width: 250px;
        padding: 8px 20px;
        font-size: 16px;
    }
    
    .personal-pages {
        margin-top: 5%;
        padding: 15px;
    }
    
    .form-signin input, 
    .form-signin button {
        margin-top: 15px;
        font-size: 14px;
    }
    
    button {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .radio-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .radio-container label {
        font-size: 14px;
    }
    
    .error-container {
        width: 90%;
        margin: 20px auto;
        padding: 15px;
    }
    
    .error-container h1 {
        font-size: 20px;
    }
    
    .error-container .error-message {
        font-size: 14px;
    }
    
    .error-container .back-button {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .currency-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .options-container {
        justify-content: center;
        gap: 10px;
    }
    
    .option-card {
        width: calc(50% - 15px);
        min-width: 120px;
        padding: 15px 10px;
    }
    
    .glass-card {
        border-radius: 15px;
    }
    
    .card-header {
        padding: 25px 15px;
    }
    
    .card-header h2 {
        font-size: 22px;
    }
    
    .card-body, 
    .card-footer {
        padding: 15px;
    }
    
    .confirm-button {
        padding: 10px 20px;
        font-size: 14px;
        width: 100%;
        max-width: 250px;
    }
    
    .wallet-card {
        padding: 15px;
    }
    
    paper-dialog {
        width: 90%;
        max-width: 350px;
        padding: 15px;
    }
    
    .dashboard-tiles {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .dashboard-tile {
        padding: 12px 8px;
        min-height: 100px;
    }
    
    .tile-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 8px;
    }
    
    .tile-title {
        font-size: 12px;
    }
    
    .balance-amount {
        font-size: 26px;
    }
    
    .section-title {
        font-size: 16px;
    }
    
    /* Improve nav toolbar for mobile */
    .nav-toolbar {
        padding: 8px;
    }
    
    .search-btn, .contact-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .nav-icon {
        padding: 6px;
        margin: 0 3px;
    }
    
    /* Waitlist page mobile adjustments */
    .waitlist-container {
        padding: 10px;
    }
    
    .header-wrapper .header h1 {
        font-size: 1.5em;
    }
    
    .header-wrapper .header p {
        font-size: 1em;
    }
    
    .waitlist-form-container {
        padding: 20px;
    }
    
    .features-container .feature-card {
        min-width: 100%;
    }
    
    .button-group {
        flex-direction: column;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .header {
        padding: 8px 5px;
    }
    
    .header img {
        height: 30px;
    }
    
    .header-title {
        font-size: 12px;
    }
    
    .message {
        font-size: 16px;
        padding: 10px;
    }
    
    .form-signin input, 
    .form-signin button {
        font-size: 12px;
        padding: 8px;
    }
    
    .btn-index {
        font-size: 14px;
        padding: 6px 15px;
    }
    
    .sub-header {
        font-size: 14px;
    }
    
    .currency-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .options-container {
        gap: 8px;
    }
    
    .option-card {
        width: calc(50% - 10px);
        padding: 15px 10px;
    }
    
    .card-header h2 {
        font-size: 18px;
    }
    
    .card-header p {
        font-size: 14px;
    }
    
    .back-button {
        padding: 8px 15px;
        font-size: 12px;
        margin-left: 5px;
    }
    
    .duration-badge {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .balance-amount {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 16px;
    }
    
    .dashboard-tiles {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .dashboard-tile {
        min-height: 80px;
        padding: 8px 5px;
    }
    
    .tile-icon {
        width: 28px;
        height: 28px;
        margin-bottom: 5px;
    }
    
    .tile-title {
        font-size: 11px;
    }
    
    .wallet-details li {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 10px;
    }
    
    /* Additional fixes for search and contact buttons */
    .search-btn, .contact-btn {
        padding: 5px 8px;
        font-size: 11px;
    }
    
    paper-dialog {
        width: 95%;
        max-width: 320px;
        padding: 12px;
    }
    
    .dialog-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .dialog-content {
        font-size: 13px;
    }
        .toggle-password {
        right: 8px;
        font-size: 18px;
    }
}

/* Mobile specific fixes for the dashboard page shown in screenshot */
@media (max-width: 600px) {
    /* Fix specific to URCASH dashboard layout */
    .personal-dashboard {
        padding: 0 10px;
    }
    
    /* Adjust tile spacing to match the screenshot */
    .dashboard-tiles {
        padding: 0 5px;
        margin-top: 15px;
    }
    
    /* Make the profile section more compact */
    .user-profile {
        margin-bottom: 15px;
        padding: 12px 8px;
    }
    
    /* Ensure tiles have correct border color and padding */
    .dashboard-tile {
        border: 1px solid #FC335F;
        padding: 10px 8px;
        border-radius: 8px;
    }
    
    /* Fix for elements in the header */
    .header {
        justify-content: center;
    }
    
    /* Fix progress bar styling */
    .progress-container {
        max-width: 200px;
        margin: 8px auto;
    }
    
    .progress-fill {
        background-color: #004165;
    }
    
    /* Specific to URCASH navigation toolbar */
    .nav-toolbar {
        justify-content: space-around;
        padding: 6px 4px;
    }
    
    .search-btn, .contact-btn {
        margin: 0 2px;
    }
    
    /* Better spacing for user details */
    .user-name {
        margin-bottom: 3px;
    }
    
    .user-id {
        margin-bottom: 6px;
    }
    
    .user-country, .user-currency {
        margin: 3px 0;
    }
}

/* Fix for device-specific issues on small Android screens */
@media (max-width: 380px) {
    .dashboard-tiles {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .dashboard-tile {
        min-height: 80px;
        padding: 8px 5px;
    }
    
    .tile-icon {
        width: 24px;
        height: 24px;
        margin-bottom: 4px;
    }
    
    .tile-title {
        font-size: 10px;
    }
    
    .user-details {
        font-size: 12px;
    }
    
    .header-title {
        font-size: 11px;
    }
    
    /* Fix for very small Android screens */
    .nav-toolbar {
        padding: 5px 2px;
    }
    
    .search-btn, .contact-btn {
        padding: 4px 6px;
        font-size: 10px;
    }
    
    .nav-icon {
        padding: 4px;
        margin: 0 2px;
    }
    
    /* Fix for currency list on very small screens */
    .currency-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }
    
    .currency-card {
        padding: 8px 5px;
    }
    
    .flag {
        width: 30px;
        height: 30px;
        margin-bottom: 6px;
    }
    
    .currency-code {
        font-size: 14px;
    }
    
    .exchange-rate {
        font-size: 10px;
    }
    
    .converted-amount {
        font-size: 14px;
    }
}/* Common CSS - Centralized styles for all components
 * Enhanced responsive support for all devices
 */

/* Root Variables */
:root {
    --primary: #3C3A6A;
    --secondary: #322A52;
    --accent: #3DE0DE;
    --background: #f8f9fa;
    --background2: #f1f3f9;
    --background3: #ffffff;
    --background4: #f5f5f5;
    --frontfont: #333333;
    --gradient: linear-gradient(135deg, #3C3A6A, #322A52);
}

/* Base Styles */
body {
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #FFFFFF;
    font-family: Arial, sans-serif;
    margin: 0;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

/* Header Styles */
.header {
    background-color: #004165;
    width: 100%;
    color: #FFFFFF;
    font-weight: bold;
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.header-logo-link {
    margin-right: 10px;
}

.header-logo {
    float: left;
}

.header img {
    height: 40px;
    margin-right: 10px;
}

.header-title {
    margin: 0;
    font-size: 16px;
    text-align: center;
    flex-grow: 1;
}

.sub-header {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

/* Main Image */
.img-container {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.img-container img {
    max-width: 100%;
    height: auto;
}

.main-image {
    position: relative;
    float: left;
}

/* For tablets and larger screens */
@media (min-width: 768px) {
    .img-container {
        margin-top: 50px;
    }
}

/* For desktop screens */
@media (min-width: 1024px) {
    .img-container {
        margin-top: 80px;
    }
}

/* Form and Input Elements */
select {
    display: block;
    margin: 20px auto;
    padding: 10px;
    font-size: 16px;
    width: 100%;
    max-width: 400px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    background-color: #F3F3F3;
}

.form-signin {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    padding: 0;
    float: none;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.message {
    width: 70%;
    height: 20%;
    padding: 25px;
    float: left;
    align-items: center;
    text-align: center;
    font-size: 30px;
    margin-left: 15%;
}

.form-signin .form-signin-heading, .form-signin .checkbox .form-heading {
    margin-bottom: 10px;
}

.form-signin .checkbox {
    font-weight: normal;
}

.form-signin .form-control {
    position: relative;
    height: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
}

.form-signin .form-control:focus {
    z-index: 2;
}

.form-signin input {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    background-color: #F3F3F3;
    margin-bottom: 0 !important;
}

.form-signin button {
    margin-top: 25px;
    background-color: #004165;
}

.form-signin a {
    margin-top: 10px;
    color: #004165;
}

.has-error {
    color: #FC335F;
}

button {
    margin-top: 10px;
    background-color: #004165;
    color: white !important;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

button:hover {
    background-color: #00324a;
}

#verification-code-form {
    display: none;
}

/* Button Styles */
.btn-primary {
    background-color: #004165 !important;
}

.btn-index {
    width: 200px;
    padding: 10px 50px;
    margin: 10px auto;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    background-color: #FC335F;
    transition: background-color 0.3s, color 0.3s;
    display: block;
}

.btn-index-primary:hover {
    background-color: #D9294B;
    color: #000;
}

.btn-index-secondary {
    background-color: #3DE0DE;
}

.btn-index-secondary:hover {
    background-color: #34C2C1;
    color: #000;
}

/* Radio Button Styles */
.radio-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.radio-container input[type="radio"] {
    display: none;
}

.radio-container label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    margin: 0 10px;
    transition: all 0.3s;
}

.radio-container label::before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 10px;
    border: 2px solid #ccc;
    border-radius: 50%;
    transition: all 0.3s;
    background-color: #fff;
}

.radio-container input[type="radio"]:checked+label::before {
    border-color: #FC335F;
    background-color: #FC335F;
}

.iti {
    width: 100%;
}

/* Container Styles */
.container {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    text-align: center;
}

.country-dropdown {
    display: none;
    margin-top: 30px;
}

.personal-pages {
    border: 2px solid #FC335F;
    margin-top: 10%;
    padding: 30px;
    float: left;
    width: 100%;
}

.page-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-header {
    margin-bottom: 30px;
    position: relative;
}

.page-title {
    font-size: 28px;
    font-weight: 500;
    color: #333;
    margin: 0 0 10px 0;
}

.page-description {
    font-size: 16px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Error Container */
.error-container {
    width: 90%;
    max-width: 500px;
    margin: 30px auto;
    padding: 20px;
    border: 2px solid #FC335F;
    border-radius: 10px;
    background-color: #ffffff;
    color: #842029;
    text-align: center;
}

.error-container h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

.error-container .error-message {
    font-size: 18px;
    margin-bottom: 10px;
    color: #004165;
}

.error-container .back-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #004165;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.error-container .back-button:hover {
    background-color: #00334d;
}

/* Input with Icon */
.input-with-icon {
    width: 100%;
    margin-top: 25px;
    position: relative !important;
    display: block !important;
    margin-bottom: 0;
    height: 40px;
}

.input-with-icon input {
    width: 100%;
    padding-right: 40px;
    height: 40px;
    box-sizing: border-box;
}

.icon-large {
    font-size: 20px !important;
    vertical-align: middle !important;
    opacity: 1 !important;
    cursor: pointer;
}

span.toggle-password {
    position: absolute !important;
    top: 50% !important;
    right: 10px !important;
    transform: translateY(-50%) !important;
    line-height: 20px !important;
    height: 20px !important;
}

.form-control[type="password"] + .toggle-password {
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.toggle-password {
    position: absolute !important;
    display: inline-block !important;
    right: 10px !important;
    top: 10px !important; /* Fixed position closer to the top */
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    z-index: 1000 !important;
    line-height: 1 !important;
    height: auto !important;
    width: auto !important;
}

#password {
    padding-right: 35px !important;
}

.toggle-password::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 150%;
    right: 0;
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
}

.toggle-password:hover::after {
    visibility: visible;
    opacity: 1;
}

.toggle-password.active {
    opacity: 0.7;
}

/* Navigation and Toolbar */
.nav-toolbar {
    display: flex;
    width: 100%;
    background-color: #004165;
    padding: 10px;
    color: white;
    justify-content: space-between;
    align-items: center;
}

.nav-actions {
    display: flex;
    align-items: center;
}

.nav-icon {
    padding: 8px;
    margin: 0 5px;
    color: white;
    cursor: pointer;
}

.search-btn, .contact-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    margin: 0 5px;
    font-size: 14px;
}

.search-btn svg, .contact-btn svg {
    margin-right: 5px;
}

/* Card Styles */
.glass-card {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    width: 100%;
    max-width: 550px;
    color: #333;
    margin: 0 auto;
}

.card-header {
    padding: 35px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: #004165;
    color: white;
}

.card-header h2 {
    font-size: 28px;
    margin-bottom: 8px;
    position: relative;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.card-header p {
    opacity: 0.9;
    font-size: 16px;
    position: relative;
    margin: 0;
}

.card-body {
    padding: 25px;
    background-color: white;
}

.card-footer {
    padding: 25px;
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
}

/* Feature Cards Section */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 30px auto;
    max-width: 1200px;
    padding: 0 15px;
}

.feature-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    height: 300px;
    position: relative;
    transition: all 0.4s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    flex: 0 1 350px;
    max-width: 350px;
    min-width: 300px;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.card-img {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    transition: all 0.5s ease;
}

.dashboard-img {
    background-image: linear-gradient(rgba(60, 58, 106, 0.7), rgba(50, 42, 82, 0.9));
}

.products-img {
    background-image: linear-gradient(rgba(60, 58, 106, 0.7), rgba(50, 42, 82, 0.9));
}

.agent-img {
    background-image: linear-gradient(rgba(60, 58, 106, 0.7), rgba(50, 42, 82, 0.9));
}

.card-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(0deg, rgba(30, 28, 76, 0.95) 0%, rgba(60, 58, 106, 0.3) 100%);
    color: white;
    padding: 20px;
    transform: translateY(calc(100% - 90px));
    transition: transform 0.5s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover .card-content {
    transform: translateY(0);
}

.card-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--accent);
    position: relative;
}

.card-title::after {
    position: absolute;
    right: 0;
    top: 0;
    transition: transform 0.3s ease;
    opacity: 0.8;
}

.feature-card:hover .card-title::after {
    transform: translateX(5px);
    opacity: 1;
}

.card-description {
    margin-bottom: 20px;
    opacity: 0.9;
    font-size: 1.3rem;
    line-height: 1.5;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.feature-tag {
    background-color: rgba(61, 224, 222, 0.2);
    border: 1px solid rgba(61, 224, 222, 0.4);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.99rem;
}

.card-btn {
    margin-top: 20px;
    background-color: var(--accent);
    color: var(--secondary);
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.card-btn:hover {
    background-color: #2bc7c7;
    transform: translateY(-2px);
}

/* Waitlist Notification */
#waitlist-notification {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 380px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(60, 58, 106, 0.3);
    border-left: 6px solid #3DE0DE;
    padding: 25px;
    z-index: 9999;
    display: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#waitlist-notification .new-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #FF6B6B;
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 3px 8px rgba(255, 107, 107, 0.5);
}

#waitlist-notification .notification-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

#waitlist-notification .icon-container {
    margin-right: 15px;
    background: linear-gradient(135deg, #3C3A6A, #322A52);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#waitlist-notification .notification-title {
    margin: 0;
    color: #3C3A6A;
    font-weight: bold;
    font-size: 1.3em;
    letter-spacing: -0.01em;
}

#waitlist-notification .notification-subtitle {
    margin: 4px 0 0 0;
    font-size: 0.9em;
    color: #666;
    line-height: 1.4;
}

#close-waitlist-btn {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 1.3em;
    transition: all 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: auto;
}

#close-waitlist-btn:hover {
    color: #555;
    background: #f5f5f5;
    transform: rotate(90deg);
}

#waitlist-notification .notification-message {
    margin-bottom: 20px;
    font-size: 1.05em;
    color: #444;
    line-height: 1.5;
}

#waitlist-notification .highlight {
    color: #3C3A6A;
    font-weight: bold;
}

#waitlist-notification .notification-actions {
    display: flex;
    gap: 14px;
    justify-content: space-between;
    margin-top: 22px;
}

#join-waitlist-btn {
    width: calc(50% - 7px);
    padding: 14px 0;
    border-radius: 10px;
    font-size: 1em;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, #3C3A6A, #322A52);
    color: white;
    border: none;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(60, 58, 106, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
}

#join-waitlist-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(60, 58, 106, 0.4);
}

#join-waitlist-btn .btn-text {
    position: relative;
    z-index: 2;
}

#join-waitlist-btn .btn-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3DE0DE 0%, rgba(61, 224, 222, 0) 80%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

#join-waitlist-btn:hover .btn-overlay {
    opacity: 0.3;
}

#later-btn {
    width: calc(50% - 7px);
    padding: 14px 0;
    border-radius: 10px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, #3C3A6A, #322A52);
    color: white;
    border: 2px solid #3C3A6A;
    transition: all 0.3s;
    text-align: center;
}

#later-btn:hover {
    background: linear-gradient(135deg, #322A52, #3C3A6A);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#waitlist-notification .counter {
    margin-top: 15px;
    text-align: center;
    font-size: 0.8em;
    color: #666;
}

#waitlist-count {
    color: #3C3A6A;
    font-weight: bold;
}

/* Waitlist Page Specific Styles */
.waitlist-container {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.company-title {
    text-align: center;
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 2.5em;
}

.header-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

.header-wrapper .header {
    background: var(--gradient);
    color: #ffffff;
    padding: 30px 20px;
    border-radius: 12px;
    margin: 0 auto;
    max-width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-wrapper .header h1 {
    font-size: 1.8em;
    margin-bottom: 15px;
}

.header-wrapper .header p {
    font-size: 1.1em;
    margin-bottom: 10px;
    line-height: 1.5;
}

.waitlist-form-container {
    background: var(--background3);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--primary);
}

.form-group input,
.form-group select {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(61, 224, 222, 0.2);
}

/* Ensure both buttons are exactly the same height and alignment */
.back-btn, .submit-btn {
    padding: 0; /* Remove default padding */
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px; /* Fixed equal height */
    min-width: 150px;
    margin: 0; /* Remove any margins */
    line-height: 1; /* Reset line height */
}

/* Special fix for the back button to match join button */
.back-btn {
    margin-top: 0 !important; /* Override any margin-top */
    margin-left: 0 !important; /* Override any margin-left */
    padding-top: 0 !important; /* Ensure no extra padding on top */
    padding-bottom: 0 !important; /* Ensure no extra padding on bottom */
}

/* Make sure icon in back button doesn't affect height */
.back-btn i, .back-btn svg {
    margin-right: 8px;
    flex-shrink: 0;
    line-height: 1;
}

/* Ensure button group has no extra spacing */
.button-group {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0;
}

.submit-btn {
    background: var(--gradient);
    color: white;
    border: none;
}

.back-btn {
    background: #3DE0DE;
    color: var(--primary);
    border: 1px solid #cbd5e0;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-btn:hover, .back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.submit-btn:active, .back-btn:active {
    transform: translateY(0);
}

/* Loading state for submit button */
.submit-btn.loading {
    pointer-events: none;
    opacity: 0.8;
    position: relative;
    color: transparent;
}

.submit-btn.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    animation: spin 0.8s infinite linear;
}

.features-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.features-container .feature-card {
    background: var(--background3);
    border-radius: 12px;
    padding: 20px;
    flex: 1;
    min-width: 230px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: auto;
}

.features-container .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.features-container .feature-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.features-container .feature-card p {
    color: #4a5568;
    font-size: 0.95em;
    line-height: 1.4;
}

.feature-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: var(--accent);
}

/* Success and error messages for waitlist */
.success-message {
    display: none;
    background-color: #c6f6d5;
    color: #22543d;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    margin-top: 20px;
    font-weight: 600;
    animation: fadeIn 0.5s ease-in-out;
}

.error-message {
    display: none;
    background-color: #fed7d7;
    color: #822727;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    margin-top: 20px;
    font-weight: 600;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Forex options styles */
.options-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.option-card {
    background-color: #f5f5f5;
    border-radius: 15px;
    padding: 20px 15px;
    width: 155px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background-color: #e3f2fd;
}

.option-card.selected {
    background-color: #e3f2fd;
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #004165;
}

.duration-badge {
    background-color: #004165;
    color: white;
    font-size: 13px;
    padding: 5px 10px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.amount {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 8px;
    color: #333;
}

.label {
    font-size: 12px;
    color: #666;
}

.currency-name {
    font-size: 11px;
    color: #888;
    margin-top: 4px;
    text-align: center;
}

/* Currency Exchange Styles */
.info-block {
    background-color: #f5f9ff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    border-left: 4px solid #004165;
}

@media (max-width: 1200px) {
    .features-grid {
        max-width: 900px;
    }
    
    .feature-card {
        flex: 0 1 320px;
        max-width: 320px;
    }
}

@media (max-width: 992px) {
    .features-grid {
        max-width: 700px;
    }
    
    .feature-card {
        flex: 0 1 300px;
        max-width: 300px;
    }
}

/* Ensure buttons stay on the same line even on mobile */
@media (max-width: 767px) {
    .button-group {
        flex-direction: row !important; /* Override the column layout */
        gap: 10px; /* Reduce gap slightly on small screens */
    }
    
    .back-btn, .submit-btn {
        padding: 12px 15px; /* Slightly reduce padding on mobile */
        font-size: 1em; /* Slightly reduce font size on mobile */
        min-width: 120px; /* Reduce minimum width on mobile */
    }
    .form-signin {
        max-width: 300px;
    }
    
    .personal-pages {
        padding: 12px;
    }
    
    .toggle-password {
        top: 18px; /* Slightly adjusted for smaller screens */
    }
    
    .features-grid {
        flex-direction: column;
        align-items: center;
        max-width: 400px;
    }
    
    .feature-card {
        flex: none;
        width: 100%;
        max-width: 350px;
        min-width: 280px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .back-btn, .submit-btn {
        padding: 10px 12px; /* Further reduce padding */
        font-size: 0.9em; /* Further reduce font size */
        min-width: 100px; /* Further reduce min-width */
    }
    
     .features-grid {
        padding: 0 10px;
        max-width: 320px;
    }
    
    .feature-card {
        max-width: 100%;
        min-width: 260px;
    }
}

/* ===================================================================
   WAITLIST PAGE SPECIFIC STYLES - COMPLETE REPLACEMENT
   ================================================================== */

/* Waitlist Container */
#waitlist-container {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    padding: 0 15px;
}

/* Waitlist Header */
#waitlist-header-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

#waitlist-header {
    background: var(--gradient);
    color: #ffffff;
    padding: 30px 20px;
    border-radius: 12px;
    margin: 0 auto;
    max-width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#waitlist-header h1 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #ffffff;
}

#waitlist-header p {
    font-size: 1.1em;
    margin-bottom: 10px;
    line-height: 1.5;
    color: #ffffff;
}

/* Waitlist Form Container */
#waitlist-form-container {
    background: var(--background3);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: opacity 0.3s ease;
}

#waitlist-form-container.dimmed {
    opacity: 0.3;
    pointer-events: none;
}

/* Waitlist Form */
#waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#waitlist-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#waitlist-form .form-group label {
    font-weight: 600;
    color: var(--primary);
    font-size: 14px;
}

#waitlist-form .form-group input,
#waitlist-form .form-group select {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    transition: all 0.3s ease;
}

#waitlist-form .form-group input:focus,
#waitlist-form .form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(61, 224, 222, 0.2);
}

/* Waitlist Button Group */
#waitlist-button-group {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0;
}

#waitlist-back-btn, 
#waitlist-submit-btn {
    padding: 0;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    min-width: 150px;
    margin: 0;
    line-height: 1;
    text-decoration: none;
    border: none;
}

#waitlist-submit-btn {
    background: var(--gradient);
    color: white;
}

#waitlist-back-btn {
    background: var(--accent);
    color: var(--primary);
    border: 1px solid #cbd5e0;
}

#waitlist-submit-btn:hover, 
#waitlist-back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#waitlist-submit-btn:disabled {
    background: #6c757d !important;
    cursor: not-allowed !important;
    transform: none !important;
    opacity: 0.7;
}

#waitlist-submit-btn:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Loading state for submit button */
#waitlist-submit-btn.loading {
    pointer-events: none;
    opacity: 0.8;
    position: relative;
    color: transparent;
}

#waitlist-submit-btn.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    animation: waitlistSpinner 0.8s infinite linear;
}

@keyframes waitlistSpinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Waitlist Features Container */
#waitlist-features-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

#waitlist-features-container .feature-card {
    background: var(--background3);
    border-radius: 12px;
    padding: 20px;
    flex: 1;
    min-width: 230px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: auto;
}

#waitlist-features-container .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

#waitlist-features-container .feature-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.2em;
}

#waitlist-features-container .feature-card p {
    color: #4a5568;
    font-size: 0.95em;
    line-height: 1.4;
    margin: 0;
}

#waitlist-features-container .feature-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: var(--accent);
    display: block;
}

/* ===================================================================
   WAITLIST SUCCESS/ERROR MESSAGES - CRITICAL OVERRIDES
   ================================================================== */

/* Base message containers - Override any existing styles */
#waitlist-success-message, 
#waitlist-error-message {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    position: relative !important;
    z-index: 99999 !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100% !important;
    height: auto !important;
}

#waitlist-success-message.show, 
#waitlist-error-message.show {
    display: block !important;
}

/* Success Message Overlay */
.waitlist-success-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.85) !important;
    z-index: 99998 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

.waitlist-success-content {
    background: var(--background3) !important;
    color: var(--primary) !important;
    border: 4px solid var(--accent) !important;
    border-radius: 20px !important;
    padding: 50px 40px !important;
    text-align: center !important;
    max-width: 550px !important;
    width: 90% !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6) !important;
    animation: waitlistSuccessScale 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative !important;
}

@keyframes waitlistSuccessScale {
    0% {
        transform: scale(0.6) translateY(-50px);
        opacity: 0;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.waitlist-success-icon {
    margin-bottom: 25px !important;
    display: block !important;
    line-height: 1 !important;
}

.waitlist-success-icon i {
    font-size: 80px !important;
    color: var(--accent) !important;
    text-shadow: 0 3px 6px rgba(61, 224, 222, 0.3) !important;
}

.waitlist-success-title {
    font-size: 36px !important;
    font-weight: 700 !important;
    margin-bottom: 25px !important;
    color: var(--primary) !important;
    line-height: 1.2 !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    letter-spacing: 1px !important;
}

.waitlist-success-text {
    font-size: 20px !important;
    margin-bottom: 20px !important;
    line-height: 1.5 !important;
    color: var(--frontfont) !important;
    font-weight: 500 !important;
}

.waitlist-success-subtext {
    font-size: 16px !important;
    margin-bottom: 30px !important;
    color: #666666 !important;
    line-height: 1.4 !important;
    font-style: italic !important;
}

.waitlist-countdown-text {
    font-size: 16px !important;
    margin-bottom: 25px !important;
    color: var(--primary) !important;
    line-height: 1.3 !important;
    font-weight: 500 !important;
}

.waitlist-countdown-text span {
    color: var(--primary) !important;
    font-weight: 700 !important;
    font-size: 18px !important;
}

.waitlist-countdown-button {
    background: var(--gradient) !important;
    color: white !important;
    border: none !important;
    padding: 18px 35px !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    cursor: pointer !important;
    box-shadow: 0 6px 20px rgba(60, 58, 106, 0.4) !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    min-width: 250px !important;
}

.waitlist-countdown-button:hover {
    background: var(--secondary) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(60, 58, 106, 0.6) !important;
}

.waitlist-countdown-button:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(60, 58, 106, 0.5) !important;
}


@keyframes waitlistErrorSlide {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ===================================================================
   WAITLIST RESPONSIVE STYLES
   ================================================================== */

/* Tablet styles */
@media (min-width: 768px) and (max-width: 1199px) {
    #waitlist-container {
        padding: 0 20px;
    }
    
    #waitlist-form-container {
        padding: 25px;
    }
    
    #waitlist-features-container {
        gap: 15px;
    }
    
    #waitlist-features-container .feature-card {
        min-width: 200px;
    }
}

/* Mobile styles */
@media (max-width: 767px) {
    #waitlist-container {
        padding: 0 10px;
    }
    
    #waitlist-header {
        padding: 20px 15px;
    }
    
    #waitlist-header h1 {
        font-size: 1.4em;
    }
    
    #waitlist-header p {
        font-size: 1em;
    }
    
    #waitlist-form-container {
        padding: 20px;
    }
    
    #waitlist-button-group {
        flex-direction: row !important;
        gap: 10px;
    }
    
    #waitlist-back-btn, 
    #waitlist-submit-btn {
        padding: 12px 15px;
        font-size: 1em;
        min-width: 120px;
        height: 45px;
    }
    
    #waitlist-features-container {
        gap: 15px;
    }
    
    #waitlist-features-container .feature-card {
        min-width: 100%;
        padding: 15px;
    }
    
    .waitlist-success-content {
        padding: 30px 20px !important;
        margin: 20px !important;
    }
    
    .waitlist-success-icon i {
        font-size: 60px !important;
    }
    
    .waitlist-success-title {
        font-size: 24px !important;
    }
    
    .waitlist-success-text {
        font-size: 16px !important;
    }
    
    .waitlist-countdown-button {
        padding: 12px 25px !important;
        font-size: 14px !important;
    }
}

/* Extra small mobile */
@media (max-width: 480px) {
    #waitlist-back-btn, 
    #waitlist-submit-btn {
        padding: 10px 12px;
        font-size: 0.9em;
        min-width: 100px;
        height: 42px;
    }
    
    #waitlist-form-container {
        padding: 15px;
    }
    
    .waitlist-success-content {
        padding: 25px 15px !important;
    }
    
    .waitlist-success-title {
        font-size: 20px !important;
    }
    
    .waitlist-success-text {
        font-size: 14px !important;
    }
    
    .waitlist-countdown-button {
        padding: 10px 20px !important;
        font-size: 13px !important;
    }
}

/* ===================================================================
   WAITLIST UTILITY CLASSES
   ================================================================== */

.waitlist-hidden {
    display: none !important;
}

.waitlist-visible {
    display: block !important;
}

.waitlist-disabled {
    pointer-events: none !important;
    opacity: 0.6 !important;
}

.waitlist-loading {
    cursor: wait !important;
}

/* Ensure waitlist styles don't conflict with existing dashboard styles */
#waitlist-container .dashboard-tile,
#waitlist-container .currency-card,
#waitlist-container .wallet-card {
    /* Reset any inherited styles */
    all: revert;
}

/* Make sure waitlist form doesn't inherit any conflicting form styles */
#waitlist-form input:not([type="hidden"]),
#waitlist-form select,
#waitlist-form button {
    /* Reset any inherited form styles */
    box-sizing: border-box;
    font-family: inherit;
}

/* Error Message Container - Force visibility */
#waitlist-error-message {
    display: none !important;
    position: relative !important;
    z-index: 9999 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

#waitlist-error-message.show {
    display: block !important;
    animation: waitlistErrorFadeIn 0.3s ease-out !important;
}

/* Error Content - Enhanced styling */
.waitlist-error-content {
    background: #f8d7da !important;
    color: #721c24 !important;
    border: 3px solid #dc3545 !important;
    border-radius: 10px !important;
    padding: 25px 20px !important;
    text-align: center !important;
    margin: 20px auto !important;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.3) !important;
    animation: waitlistErrorSlide 0.4s ease-out !important;
    min-height: 80px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 500px !important;
    position: relative !important;
}

@keyframes waitlistErrorFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes waitlistErrorSlide {
    0% {
        transform: scale(0.9) translateY(-20px);
        opacity: 0;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Error Icon */
.waitlist-error-icon {
    font-size: 28px !important;
    margin-bottom: 15px !important;
    display: block !important;
    line-height: 1 !important;
    color: #dc3545 !important;
}

.waitlist-error-icon i {
    color: #dc3545 !important;
    font-size: 28px !important;
}

/* Error Title */
.waitlist-error-title {
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    font-size: 20px !important;
    color: #721c24 !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Error Text - Most important part */
.waitlist-error-text {
    font-size: 16px !important;
    line-height: 1.5 !important;
    color: #721c24 !important;
    margin: 0 !important;
    max-width: 400px !important;
    font-weight: 500 !important;
    word-wrap: break-word !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
}

/* Ensure text is visible and not hidden */
.waitlist-error-content * {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Mobile responsive for error */
@media (max-width: 768px) {
    .waitlist-error-content {
        padding: 20px 15px !important;
        margin: 15px 10px !important;
        border-radius: 8px !important;
        border-width: 2px !important;
    }
    
    .waitlist-error-title {
        font-size: 18px !important;
        margin-bottom: 10px !important;
    }
    
    .waitlist-error-text {
        font-size: 14px !important;
    }
    
    .waitlist-error-icon {
        font-size: 24px !important;
        margin-bottom: 12px !important;
    }
    
    .waitlist-error-icon i {
        font-size: 24px !important;
    }
}

@media (max-width: 480px) {
    .waitlist-error-content {
        padding: 18px 12px !important;
        margin: 10px 5px !important;
        min-height: 70px !important;
    }
    
    .waitlist-error-title {
        font-size: 16px !important;
        margin-bottom: 8px !important;
    }
    
    .waitlist-error-text {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }
    
    .waitlist-error-icon {
        font-size: 22px !important;
        margin-bottom: 10px !important;
    }
    
    .waitlist-error-icon i {
        font-size: 22px !important;
    }
}

/* Debug styles - can be removed later */
.waitlist-error-content[data-debug="true"] {
    border: 5px dashed #ff0000 !important;
}

.waitlist-error-text[data-debug="true"] {
    background: yellow !important;
    color: black !important;
}

/* SEIS Section Styles - Designed to fit in img-container space */
.urcash-seis-section {
    background: #f1f3f9;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(60, 58, 106, 0.15);
    margin: 0;
    width: 100%;
    max-width: 450px;
    position: relative;
    border: 2px solid rgba(60, 58, 106, 0.1);
    font-family: Arial, sans-serif;
}

.urcash-seis-container {
    max-width: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.urcash-seis-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(60, 58, 106, 0.1);
}

.urcash-seis-title {
    color: #3C3A6A;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
    font-family: Arial, sans-serif;
}

.urcash-seis-subtitle {
    color: #333333;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
    opacity: 0.9;
    font-family: Arial, sans-serif;
}

.urcash-seis-card {
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(60, 58, 106, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    min-height: auto;
}

.urcash-seis-card.hmrc-style {
    background: linear-gradient(135deg, #3C3A6A, #322A52);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.urcash-seis-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(60, 58, 106, 0.25);
}

.urcash-seis-card-header {
    text-align: center;
    margin-bottom: 18px;
}

.urcash-seis-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 14px;
    border-radius: 18px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: inline-block;
    font-family: Arial, sans-serif;
}

.urcash-seis-card-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 6px;
    line-height: 1;
    color: white;
    font-family: Arial, sans-serif;
}

.urcash-seis-card-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 12px;
    line-height: 1.3;
    color: white;
    font-family: Arial, sans-serif;
}

.urcash-seis-card-content {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 15px;
    backdrop-filter: blur(10px);
}

.urcash-seis-reference-info {
    font-size: 0.95rem;
    opacity: 0.95;
    line-height: 1.5;
    font-weight: 500;
    text-align: center;
    color: white;
    font-family: Arial, sans-serif;
}

.urcash-seis-benefits {
    background: linear-gradient(135deg, #3C3A6A, #322A52);
    border-radius: 15px;
    padding: 20px;
    color: white;
    text-align: center;
    margin-top: 15px;
    box-shadow: 0 6px 20px rgba(60, 58, 106, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.urcash-seis-benefits-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
    font-family: Arial, sans-serif;
}

.urcash-seis-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.urcash-seis-benefit-item {
    text-align: center;
}

.urcash-seis-benefit-value {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: #3DE0DE;
    line-height: 1;
    font-family: Arial, sans-serif;
}

.urcash-seis-benefit-label {
    font-size: 0.8rem;
    opacity: 0.9;
    line-height: 1.2;
    color: white;
    font-family: Arial, sans-serif;
}

.urcash-seis-cta {
    text-align: center;
    margin-top: 15px;
}

.urcash-seis-button {
    background: #3DE0DE;
    color: #3C3A6A;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(61, 224, 222, 0.3);
    font-family: Arial, sans-serif;
    cursor: pointer;
}

.urcash-seis-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(61, 224, 222, 0.4);
    color: #3C3A6A;
    text-decoration: none;
    background: #34C2C1;
}

@keyframes seisSlideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.urcash-seis-section {
    animation: seisSlideIn 0.8s ease-out;
}

/* Responsive adjustments - only for SEIS section */
@media (max-width: 1024px) {
    .urcash-seis-section {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .urcash-seis-section {
        padding: 20px;
        max-width: none;
    }
    
    .urcash-seis-title {
        font-size: 1.5rem;
    }
    
    .urcash-seis-subtitle {
        font-size: 0.9rem;
    }
    
    .urcash-seis-card {
        padding: 18px;
    }
    
    .urcash-seis-card-title {
        font-size: 1.8rem;
    }
    
    .urcash-seis-benefits {
        padding: 18px;
    }
    
    .urcash-seis-benefits-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .urcash-seis-benefit-value {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .urcash-seis-section {
        padding: 15px;
    }
    
    .urcash-seis-card {
        padding: 15px;
    }
    
    .urcash-seis-benefits {
        padding: 15px;
    }
    
    .urcash-seis-title {
        font-size: 1.3rem;
    }
    
    .urcash-seis-card-title {
        font-size: 1.6rem;
    }
    
    .urcash-seis-benefit-value {
        font-size: 1.2rem;
    }
}

.urcash-seis-section::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #3DE0DE, #3C3A6A);
    border-radius: 22px;
    z-index: -1;
    opacity: 0.1;
}