/*
Base/Classes found in all pages
*/

body {
    text-align: center;
    margin: 0;
    background-color: teal;
}

.site-footer {
    background-color: white;
    margin-top: 3rem;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #777;
    border-top: 1px solid #e0e0e0;
}

.footer-left,
.footer-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-footer a {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
}

.site-footer a:hover {
    text-decoration: underline;
}

.github-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.github-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

@media(max-width:600px) {
  .site-footer {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

.page-header {
    color: white;
    margin-bottom: 20px;
    font-weight: bold;
}

/*
Log in + Sign up Pages
*/

#login-button, #signup-button {
    position: relative;
    overflow: hidden;
}

.button-text {
    transition: opacity 0.3s;
}

.form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    box-sizing: border-box;
    gap: 10px;
}

.form-container div {
    text-align: center;
}

#login-form, #signup-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.form-control {
    margin-bottom: 15px;
}

/*
Dashboard
*/

#dashboard {
    width: 95%;
    margin: 30px auto;
}

#dashboard .card {
    width: 220px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
    transition: transform 0.2s ease;
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
}

#dashboard .card:hover {
    transform: translateY(-4px);
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
}

.card-text {
    font-weight: bold;
    color: #198754;
}