@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600&display=swap');

.login-body {
    background: linear-gradient(135deg, #a8e6cf, #dcedc1);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: 'Source Sans Pro', sans-serif;
    margin: 0;
}

.login-container {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    width: 350px;
    text-align: center;
    transition: transform 0.3s;
}

.login-container:hover {
    transform: translateY(-5px);
}

.login-container h1 {
    margin-bottom: 30px;
    color: #2e7d32;
    font-weight: 600;
    font-size: 24px;
    letter-spacing: 0.5px;
}

.login-container form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.login-container input[type="text"],
.login-container input[type="password"] {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
}

.login-container input[type="text"]:focus,
.login-container input[type="password"]:focus {
    border: 1px solid #66bb6a;
    box-shadow: 0 0 0 2px rgba(102, 187, 106, 0.2);
}

.login-container button {
    background: linear-gradient(135deg, #66bb6a, #43a047);
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background 0.3s, transform 0.2s;
}

.login-container button:hover {
    background: linear-gradient(135deg, #43a047, #388e3c);
    transform: scale(1.03);
}

.login-container .message {
    margin-top: 15px;
    color: #d32f2f;
    font-weight: 500;
}


body {
    margin: 0;
    font-family: 'Source Sans Pro', sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #66bb6a, #43a047);
    color: white;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav-left a,
.dropdown .dropbtn {
    color: white;
    text-decoration: none;
    margin-right: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.2s, transform 0.2s;
}

.nav-left a:hover,
.dropdown .dropbtn:hover {
    color: #c8e6c9;
    transform: translateY(-2px);
}

.nav-right {
    position: relative;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: white;
    min-width: 160px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    z-index: 1;
    overflow: hidden;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.main-content {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav-left, .nav-right {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
}


#upload-box {
    font-family: "Segoe UI", sans-serif;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    /*height: 100vh;*/
}

.upload-container {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    width: 300px;
}

.upload-container h2 {
    margin-bottom: 1rem;
}

.upload-container input[type="file"] {
    margin-bottom: 1rem;
}

.upload-container button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.upload-container button:hover {
    background-color: #45a049;
}

.message {
    margin-top: 1rem;
    color: #333;
    font-weight: 500;
}
