html {
    overflow-y: scroll; /* Ensures scrollbar is always visible */
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f4f8;
    justify-content: center;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;  /* Centers the entire content vertically */
    justify-content: flex-start;  /* Aligns the content at the top */
}

/* Style for the header */
header {
    background-color: #333;
    color: white;
    padding: 20px 0;
    font-family: Arial, sans-serif;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Align items vertically */
    margin: 0;
}

/* Container for the content inside the header */
.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Stack the title and learn more link */
    text-align: center;
    width: 100%;
}

/* Add box-sizing for consistency */
*,
*::before,
*::after {
    box-sizing: border-box;
}


/* Title styling */
.header-title {
    font-size: 2rem;
    color: white;
    text-decoration: none;
    font-weight: bold;
    width: 100%;
    margin-bottom: 10px; /* Space between title and learn more link */
    padding: 5px 10px;
}

.header-title:hover{
    color: #0080b3;
    transition: all 0.3s ease;
}

/* Learn more link styling */
.learn-more-link {
    font-size: 1.2rem;
    text-decoration: none;
    color: white;
}

.learn-more-link:hover {
    color: #0080b3;
    transition: all 0.3s ease;
}

.container {
    margin-top: 10px;
    width: 90%;
    justify-content: center;
}

h1 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.upload-box {
    width: 100%;
    height: 200px;
    border: 2px dashed #6c757d; /* Soft gray border */
    background-color: #e9ecef; /* Light background for contrast */
    border-radius: 10px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    font-size: 18px;
    transition: background-color 0.3s;
}

.upload-box p {
    margin: 0;
}

.upload-box input[type="file"] {
    display: none;
}

.upload-box.drag-over {
    background-color: #dde1e6; 
}

.upload-box:hover {
    background-color: #dde1e6; 
}


.message {
    padding: 15px;
    margin-top: 15px;
    border-radius: 8px;
    font-size: 15px;
    text-align: center;
    font-weight: bold;
    display: inline-block;
    width: 99%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: fadeInOut 4s ease-in-out;
}

.message.success {
    margin-bottom: 15px;
    padding: 10px;
    background: linear-gradient(135deg, #b4e7b4, #4caf50);
    color: #2e7d32;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
}

.message.error {
    margin-bottom: 15px;
    padding: 10px;
    background: linear-gradient(135deg, #f8c1c1, #f44336);
    color: #b71c1c;
    border: 1px solid #e6c3c3;
    border-radius: 5px;
}

/* Icon styles */
.message::before {
    content: '✔️';
    font-size: 1.2em;
    margin-right: 10px;
}

.message.error::before {
    content: '❌';
}

.results-container {
    margin-top: 30px;
}

.results-container h2 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
    text-align: center;
}

.results-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    text-align: left;
    border-radius: 10px;
}

.results-table th, .results-table td {
    padding: 8px;
    border: 1px solid #ddd;
}

.results-table th {
    padding: 12px;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #333;
    text-align: center;
}

.results-table td {
    background-color: #fff;
    color: #333;
}

.results-table tr:nth-child(even) {
    background-color: #f9fafc;
}

/* Hover effect for table rows */
.results-table tr:hover td {
    background-color: #eaf4ff;
    transition: background-color 0.3s;
}

.how-to-use {
    padding: 20px;
    background-color: #f0f4f8;
    text-align: center;
}

.how-to-use-header {
    background-color: #f0f4f8;
    border: none;
    color: #333;
    font-size: 1.5em;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    width: 100%;
    padding: 15px;
    text-align: center;
}

.how-to-use h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

/* Accordion header styling */
.accordion-header {
    background-color: #f0f4f8a6;
    color: #333;
    padding: 10px;
    width: 100%;
    text-align: left;
    border: 1px solid #ddd;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
}

.triangle-icon {
    font-size: 1.2em;
    transition: transform 0.3s ease;
    display: inline-block;
    transform: rotate(90deg); /* Start sideways */
}

/* Hide the accordion body by default */
.accordion-body {
    display: none;
    padding: 10px;
    background-color: #f0f4f8;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 5px 5px;
}

/* Rotate triangle when expanded */
.accordion-header.active .triangle-icon {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}
.steps-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 95%;
    display: flex;
    justify-content: space-between;
    height: auto; /* Set a fixed height for the entire step */
}

.step-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 90%;
    text-align: center;
    transition: transform 0.3s ease;
    margin-bottom: 10px;
}

.step-image {
    width: 75%;
    height: auto; 
    object-fit: contain; /* Maintain the aspect ratio */
    border-radius: 5px;
    margin-bottom: 10px;
}


.step-card:hover {
    transform: translateY(-5px);
}

.step-card i {
    font-size: 2rem;
    color: #4A90E2;
    margin-bottom: 10px;
}

.step-content h3 {
    font-size: 1.15rem;
    color: #333;
    margin-bottom: 8px;
}

.step-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
    .step-card {
        width: 100%;
    }
}

.unfollow-button {
    display: inline-block;
    padding: 5px 10px;
    background-color: #ff4d4d;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
}

.unfollow-button:hover {
    background-color: #e60000;
}

#resultTable {
    display: table;
    visibility: visible;
  }