/* ------------------------------------------------
    General Styles
------------------------------------------------ */
body {
    margin: 0;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    background: #f8f9fa;
    color: #202124;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ------------------------------------------------
    Layout
------------------------------------------------ */
.container {
    margin-top: 10vh;
    text-align: center;
}

.page-content {
    display: block;
    margin: 40px auto;
    padding: 0 20px;
    max-width: 600px;
}

.results-page .results-header {
    margin-top: 20px;
}

/* ------------------------------------------------
    Logo
------------------------------------------------ */
.logo {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: #3c4043;
}

.logo-link {
    color: inherit;
}

/* ------------------------------------------------
    Search Form
------------------------------------------------ */
.search-form {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.search-input {
    width: 40%;
    padding: 12px;
    border: 1px solid #dadce0;
    border-radius: 24px;
    font-size: 1rem;
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
    transition: box-shadow 0.3s ease;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.4);
}

.search-button {
    padding: 12px 20px;
    border: none;
    background: #1a73e8;
    color: white;
    border-radius: 24px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-button:hover {
    background: #185abc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ------------------------------------------------
    Results Page
------------------------------------------------ */
.no-results-message {
    text-align: center;
    color: #5f6368;
}

.results-container {
    width: 60%;
    max-width: 800px;
    margin: 40px auto;
}

.result-item {
    margin-bottom: 24px;
    padding-bottom: 0;
    border-bottom: none;
}

.result-item a {
    font-size: 1.2rem;
    color: #1a0dab;
}

.result-item a:hover {
    text-decoration: underline;
}

.result-snippet {
    margin-top: 5px;
    font-size: 0.95rem;
    color: #4d5156;
}

.score {
    font-size: 0.8rem;
    color: #70757a;
}

/* Weather */
.weather-widget {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: 'Roboto', sans-serif;
    color: #202124;
    border: 1px solid #dadce0;
}

.city-name {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 8px;
}

.weather-main-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.current-temp-container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.temp-current {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1;
    color: #1a73e8;
}

.temp-range {
    font-size: 0.9rem;
    color: #5f6368;
    margin-top: 4px;
}

.conditions-container {
    display: flex;
    align-items: center;
    text-align: right;
    padding-left: 10px;
}

.weather-icon {
    width: 60px;
    height: 60px;
    margin-right: 8px;
}

.weather-cond-text {
}

.weather-main {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.2;
}

.weather-desc {
    font-size: 0.85rem;
    color: #5f6368;
    text-transform: capitalize;
}

.weather-details {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.detail-item {
    flex: 1 1 30%;
    margin-bottom: 8px;
    font-size: 0.9rem;
    padding: 0 4px;
}

.detail-label {
    color: #5f6368;
    margin-right: 4px;
}

.detail-value {
    font-weight: 500;
    color: #202124;
}

/* Pagination */
.pagination {
    width: 60%;
    max-width: 800px;
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.pagination-left,
.pagination-right {
    width: 150px;
    text-align: center;
    color: #1a0dab;
    font-weight: normal;
}

.pagination-left:hover,
.pagination-right:hover{
    text-decoration: underline;
}

.pagination-center {
    flex-grow: 1;
    text-align: center;
    font-weight: 400;
    color: #5f6368;
}

/* ------------------------------------------------
    Home Page Footer
------------------------------------------------ */
.footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #70757a;
    background: #f2f2f2;
    border-top: 1px solid #dadce0;
}

.footer a {
    color: #70757a;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-links {
    display: flex;
    gap: 16px;
}

/* ------------------------------------------------
    About Page
------------------------------------------------ */
.about-page a {
    color: #1a0dab;
    text-decoration: underline;
}