/* File: ai-checker-style.css -- UPDATED FOR IMPROVEMENTS */

.ai-checker-container { max-width: 700px; margin: 40px auto; padding: 30px; border: 1px solid #AFF9C7; border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.05); background-color: #fff; text-align: center; }
.ai-checker-container h1 { margin-top: 0; }
#ai-checker-form { display: flex; flex-direction: column; gap: 15px; margin-top: 20px; }
#ai-checker-form label { font-weight: bold; text-align: left; margin-bottom: -10px; }
#url-input, #intent-keyword-input { flex-grow: 1; padding: 12px; border: 1px solid #ccc; border-radius: 4px; font-size: 16px; }
#submit-button { padding: 12px 20px; border: none; background-color: #00d473; color: white; font-size: 16px; border-radius: 4px; cursor: pointer; transition: background-color 0.3s; margin-top: 10px; }
#submit-button:hover { background-color: #00b863; }
#submit-button:disabled { background-color: #ccc; cursor: not-allowed; }

#result-container { margin-top: 30px; padding: 10px; border-radius: 4px; background-color: #f7f7f7; text-align: left; }
#result-container h2 { text-align: center; margin-bottom: 20px; }

.analysis-block { background-color: #fff; border: 1px solid #e0e0e0; border-radius: 6px; padding: 20px; margin-bottom: 15px; }
.analysis-block h3 { margin-top: 0; border-bottom: 2px solid #eee; padding-bottom: 10px; margin-bottom: 15px; }
.analysis-block p, .analysis-block li { line-height: 1.6; }
.analysis-block ul { list-style-type: none; padding-left: 0; }
.analysis-block ul li { margin-bottom: 8px; }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.info-grid div { background: #fafafa; padding: 10px; border-radius: 4px; word-break: break-all; }

.ai-platforms-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; }
.ai-platform { border: 1px solid #ddd; padding: 15px; border-radius: 5px; background: #fff; display: flex; flex-direction: column;}
.ai-platform h4 { margin-top: 0; margin-bottom: 10px; text-align: center; }
.ai-platform .percentage { font-size: 1.8em; font-weight: bold; color: #00d473; text-align: center; margin-bottom: 10px; }
.ai-platform p { font-size: 0.9em; margin-bottom: 0; flex-grow: 1; }

.keyword-list { list-style-type: '✅'; padding-left: 20px; }
.keyword-list li { padding-left: 10px; }

/* --- NEW STYLE ADDED HERE --- */
.improvement-list { list-style-type: '💡'; padding-left: 20px; }
.improvement-list li { padding-left: 10px; }


/* --- STYLES FOR POPUP AUTHENTICATION MODEL --- */

/* The dark background overlay - CORRECTED */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw; /* CHANGED: Use viewport-width to span the full screen */
    height: 100vh; /* CHANGED: Use viewport-height to span the full screen */
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* INCREASED: Ensures it's on top of all other elements */
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Hides the modal */
.auth-modal-overlay.hidden {
    opacity: 0;
    pointer-events: none; /* Can't click on it when hidden */
}

/* The white popup box */
.auth-modal-content {
    background: white;
    padding: 25px 35px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.auth-modal-content h3 {
    margin-top: 0;
    font-size: 1.5em;
    color: #333;
}

.auth-modal-content p {
    margin-bottom: 25px;
    font-size: 1.1em;
    color: #555;
}

/* Container for the buttons */
.auth-modal-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* General button styling */
.auth-modal-btn {
    border: none;
    padding: 12px 28px;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Specific styles for "Register" button */
.auth-modal-btn.register {
    background-color: #00d473; /* A nice green */
    color: white;
}

/* Specific styles for "Close" button */
.auth-modal-btn.close {
    background-color: #f1f3f5;
    color: #555;
    border: 1px solid #ddd;
}
