@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f5f7fa;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    min-height: 100vh;
}

.container {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 400px;
    transition: all 0.3s ease;
}

h2 {
    margin-bottom: 1.25rem;
    font-weight: 600;
    color: #222;
    font-size: 1.5rem;
    text-align: center;
}

label {
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #333;
}

input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: 0.3s;
}

input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 4px rgba(0, 123, 255, 0.3);
}

button {
    width: 100%;
    background-color: #007bff;
    color: white;
    padding: 0.75rem;
    border: none;
    margin-top: 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background-color: #0056b3;
}

.message {
    margin-top: 1rem;
    color: green;
    font-weight: 500;
    text-align: center;
}

a {
    display: block;
    margin-top: 1rem;
    text-align: center;
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
}

a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 480px) {
    .container {
        padding: 1.5rem;
        border-radius: 8px;
    }

    h2 {
        font-size: 1.25rem;
    }

    input, button {
        font-size: 0.95rem;
        padding: 0.65rem;
    }
}
.form-logo {
    display: block;
    margin: 0 auto 1rem auto;
    width: 100px;
    height: auto;
}

@media screen and (max-width: 480px) {
    .form-logo {
        width: 60px;
    }
}

.header {
  background-color: #007BFF;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logout-btn {
  background-color: #fff;
  color: #007BFF;
  border: none;
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
}

.logout-btn:hover {
  background-color: #e5e5e5;
}

.layout {
  display: flex;
  min-height: calc(100vh - 60px);
}

.sidebar {
  width: 200px;
  background: #fff;
  padding: 1rem;
  border-right: 1px solid #ddd;
  flex-shrink: 0;
}

.sidebar h3 {
  margin-top: 0;
}

.sidebar a {
  display: block;
  margin: 1rem 0;
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.sidebar a:hover {
  color: #007BFF;
}

.main {
  flex-grow: 1;
  padding: 2rem;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ddd;
  }

  .main {
    padding: 1rem;
  }

  .header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header h1 {
    margin-bottom: 0.5rem;
  }
}