body {
    font-family: 'Roboto', sans-serif;
    background-color: #f7f9fc;
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    position: relative;
    /* Added for positioning the email button */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #F25939;
}

/* Email Results Button */
.email-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: grey;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: not-allowed;
}

.email-button.active {
    background-color: #F25939;
    cursor: pointer;
}

.email-button.active:hover {
    background-color: #d9472e;
}

.input-group {
    display: flex;
    margin-bottom: 20px;
}

.input-group input[type="text"],
#email-input {
    flex: 1;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    margin-right: 10px;
}

.input-group button,
#email-form button {
    padding: 10px 20px;
    font-size: 16px;
    border: 1px solid #F25939;
    background-color: #F25939;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}

.input-group button:hover,
#email-form button:hover {
    background-color: #d9472e;
}

.result {
    margin-top: 30px;
}

.result h2 {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    color: #F25939;
}

.result p {
    font-size: 16px;
    line-height: 1.5;
}

.error {
    color: #dc3545;
    margin-top: 20px;
    font-weight: bold;
}

#loading {
    display: none;
    text-align: center;
    margin-top: 20px;
}

#loading p {
    font-size: 18px;
    color: #F25939;
}

/* Styles for SERP-like appearance */
.serp-result {
    margin-top: 20px;
}

.serp-permalink {
    color: #4d5156;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 5px;
}

.serp-title {
    color: #99c3ff;
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 3px;
}

/* Style for the SEO title link to maintain current look */
.serp-title a {
    color: inherit;
    text-decoration: none;
}

/* Optional: Remove link underline on hover */
.serp-title a:hover {
    text-decoration: none;
}

.serp-description {
    color: #4d5156;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 15px;
}

/* Divider */
.divider {
    border-top: 1px solid #ddd;
    margin: 30px 0;
}

/* Responsive Styles */
@media (max-width: 600px) {
    .input-group {
        flex-direction: column;
    }

    .input-group input[type="text"],
    .input-group button,
    #email-input {
        border-radius: 4px;
        margin-bottom: 10px;
        margin-right: 0;
    }

    .email-button {
        position: static;
        margin-bottom: 10px;
    }
}

/* Additional Styles */
.metric {
    margin-bottom: 10px;
}

.metric strong {
    color: #F25939;
}

.status-icon {
    font-size: 18px;
    vertical-align: middle;
    margin-right: 5px;
}

.green-check {
    color: green;
}

.red-cross {
    color: red;
}

/* Email Form Styles */
#email-form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

#email-input {
    margin-bottom: 10px;
}

.email-notice {
    font-size: 12px;
    color: #555;
    margin-bottom: 10px;
}


#seo-permalink {
    font-size: 12px;
    margin-bottom: 0;
}

#seo-title {
    font-size: 22px;
    font-weight: 400;
    margin-top: 5px;
    margin-bottom: 3px;
}

#seo-description {
    margin-top: 0;
}