body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}

.container {
    max-width: 1200px; /* Increased from 600px to accommodate 3 columns */
    margin: 50px auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

label {
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #4a4a4a;
}

select, input[type="date"], input[type="text"] {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

select:focus, input:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background-image: linear-gradient(to right, #3b82f6, #9333ea);
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:disabled {
    opacity: 0.5;
}

button:hover:not(:disabled) {
    background-image: linear-gradient(to right, #2563eb, #7e22ce);
    transform: translateY(-3px);
}

.result-container {
    margin-top: 20px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%; /* Ensure full width */
}

/* Add responsive flex container styles */
.result-container .flex-container {
    display: block;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.result-container .flex-container > div {
    flex: 1;
    min-width: 300px; /* Minimum width for each column */
    margin-bottom: 20px;
}

.progress-container {
    margin-top: 20px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.progress-text {
    text-align: center;
    margin-bottom: 10px;
    color: #4a4a4a;
    font-weight: bold;
}

.progress-bar-outer {
    width: 100%;
    height: 20px;
    background-color: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar-inner {
    width: 0%;
    height: 100%;
    background-image: linear-gradient(to right, #3b82f6, #9333ea);
    border-radius: 10px;
    transition: width 0.3s ease-in-out;
}

.progress-status {
    text-align: center;
    color: #4a4a4a;
    font-size: 0.9rem;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.progress-bar-inner {
    animation: pulse 1.5s infinite;
}

/* Add responsive breakpoints */
@media (max-width: 768px) {
    .container {
        margin: 20px;
        padding: 15px;
    }
    
    .result-container .flex-container > div {
        min-width: 100%; /* Full width on mobile */
    }
}
/* Update existing name-blocks-container styles */
.name-blocks-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
    width: 100%;
    max-width: 800px; /* Limit maximum width */
    margin-left: auto;
    margin-right: auto;
}

/* Update name-block styles */
.name-block {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 100%;
    margin-bottom: 20px;
}

/* Add styles for text content */
.description-block {
    margin: 20px 0;
    line-height: 1.8;
    font-size: 18px; /* Bigger font size */
    color: #333;
}

/* Update details button styles */
.details-button {
    width: 100%;
    padding: 20px; /* Bigger padding */
    margin-top: 25px;
    border: none;
    border-radius: 12px;
    background-image: linear-gradient(to right, #FF69B4, #FFB6C1);
    color: white;
    font-size: 1.3rem; /* Bigger font size */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.details-button:hover:not(:disabled) {
    background-image: linear-gradient(to right, #FF1493, #FF69B4);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.4);
}

@media (max-width: 768px) {
    .name-blocks-container {
        grid-template-columns: 1fr;
    }
    
    .name-block {
        margin-bottom: 20px;
        padding: 15px;
    }
}


.description-divider {
    margin: 20px 0;
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
}

/* Modal styles */
.analysis-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.analysis-modal-content {
    position: relative;
    background-color: #fff;
    margin: 50px auto;
    padding: 30px;
    width: 80%;
    max-width: 800px;
    border-radius: 15px;
    max-height: 80vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
}

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

.analysis-content {
    margin-top: 20px;
}

/* Loading state for button */
.details-button:disabled {
    opacity: 0.7;
    cursor: wait;
    background-image: linear-gradient(to right, #FFB6C1, #FFC0CB);
   
}

@media (max-width: 768px) {
    .analysis-modal-content {
        width: 95%;
        margin: 20px auto;
        padding: 20px;
    }
}



    .modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
    }

    .modal-content {
        background-color: #fefefe;
        margin: 15% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 80%;
        max-width: 500px;
        border-radius: 10px;
        position: relative;
    }

    .close-modal {
        position: absolute;
        right: 10px;
        top: 5px;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
    }

    #email-continue-btn {
    margin-top: 15px;
    width: 100%;
    max-width: 300px;
}

.email-input-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

#user-email {
    width: 100%;
    max-width: 300px;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

#user-email:focus {
    border-color: #FF69B4;
    outline: none;
    box-shadow: 0 0 5px rgba(255, 105, 180, 0.3);
}/*
    .details-button {
        background-color: #ff69b4;
        color: white;
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .details-button:hover {
        background-color: #ff1493;
    } */


/* Add these styles to your existing CSS file */

.notification {
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

#test-mode-button {
    background-image: linear-gradient(to right, #4CAF50, #45a049);
    margin-top: 15px;
}

#test-mode-button:hover {
    background-image: linear-gradient(to right, #45a049, #3d8b40);
}

.email-input-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
}
