* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #fafafa;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  
}

.login-container {
  background-color: white;
  border: 1px solid #dbdbdb;
  padding: 40px;
  width: 350px;
  text-align: center;
}

.logo {
  font-family: 'Grand Hotel', cursive;
  font-size: 40px;
  margin-bottom: 30px;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 9px;
  margin-bottom: 10px;
  border: 1px solid #dbdbdb;
  border-radius: 3px;
  background: #fafafa;
}

.login-btn {
  width: 100%;
  background-color: #4CB5F9;
  color: white;
  font-weight: bold;
  padding: 8px;
  border: none;
  border-radius: 5px;
  margin-top: 10px;
  cursor: pointer;
}

.login-btn:hover {
  background-color: #3797ef;
}

.forgot {
  font-size: 12px;
  color: #00376b;
  margin: 15px 0;
  display: block;
}

.signup {
  margin-top: 20px;
  font-size: 14px;
}

.signup a {
  color: #00376b;
  text-decoration: none;
  font-weight: bold;
}

.footer-text {
  font-size: 11px;
  color: gray;
  margin-top: 30px;
}

body.feed {
  background-color: #fafafa;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial;
  display: flex;
  justify-content: center;
}

.feed-container {
  max-width: 500px;
  width: 100%;
  padding: 20px 0;
}

.post {
  background: #fff;
  border: 1px solid #dbdbdb;
  margin-bottom: 20px;
}

.post-header {
  display: flex;
  align-items: center;
  padding: 10px;
}

.profile-pic {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}

.post-image {
  width: 100%;
  object-fit: cover;
}

.post-actions {
  padding: 10px;
  font-size: 20px;
}

.post-meta {
  padding: 0 10px 10px;
  font-size: 14px;
  color: #555;
}

.upload-form-container {
    background: white;
    padding: 20px;
    border: 1px solid #dbdbdb;
    margin-bottom: 20px;
    border-radius: 8px;
}

.upload-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.upload-form input[type="file"],
.upload-form input[type="text"] {
    padding: 10px;
    border: 1px solid #dbdbdb;
    border-radius: 5px;
}

.upload-form button {
    padding: 10px;
    background-color: #3897f0;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.upload-form button:hover {
    background-color: #2f80ed;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding-bottom: 70px; /* 하단바 공간 확보 */
    background-color: #f9f9f9;
}

.header {
    display: flex;
    align-items: center;
    padding: 10px;
}

.profile-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 8px;
}

.logout {
    margin-left: auto;
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

.upload-popup {
    position: fixed;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 1000;
}

.feed {
    padding: 20px;
}

.post {
    background: white;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 12px;
}

.post-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.post-img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 8px;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px;
    background-color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #ddd;
    z-index: 999;
}

.nav-icon img {
    width: 26px;
    height: 26px;
    cursor: pointer;
}
