/* 🌐 Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 🌈 Body */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #eef2f3;
  color: #333;
  line-height: 1.6;
}

/* 🔝 Navbar */
.navbar {
  background-color: #1DA1F2;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar a {
  color: white;
  text-decoration: none;
  margin-right: 15px;
  font-weight: bold;
  transition: opacity 0.2s;
}

.navbar a:hover {
  opacity: 0.8;
}

/* 🧱 Container */
.container {
  max-width: 700px;
  margin: 30px auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  padding: 25px;
}

/* 🗣️ Titles */
h2 {
  margin-bottom: 15px;
  color: #1DA1F2;
}

/* ✍️ Tweet Box */
.tweet-box textarea {
  width: 100%;
  height: 90px;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 12px;
  font-size: 16px;
  resize: none;
  outline: none;
}

.tweet-box button {
  background-color: #1DA1F2;
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
  transition: background-color 0.2s ease;
}

.tweet-box button:hover {
  background-color: #0d8de1;
}

/* 💬 Tweet Display */
.tweet {
  display: flex;
  align-items: flex-start;
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 12px 15px;
  margin-top: 15px;
}

.tweet img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 1px solid #ccc;
}

.tweet-content {
  flex: 1;
}

.tweet-content a {
  text-decoration: none;
  color: #1DA1F2;
  font-weight: bold;
}

.tweet-content a:hover {
  text-decoration: underline;
}

.tweet-content small {
  color: #777;
  display: block;
  margin-top: 5px;
}

/* 🧍 Profile Section */
.profile-header {
  display: flex;
  align-items: center;
  border-bottom: 2px solid #1DA1F2;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.profile-header img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 20px;
  border: 2px solid #1DA1F2;
}

.profile-header h2 {
  margin: 0;
  font-size: 24px;
  color: #333;
}

/* 🖼️ Upload Form */
.upload-form input[type="file"] {
  margin-top: 10px;
}

.upload-form button {
  background-color: #1DA1F2;
  border: none;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
}

.upload-form button:hover {
  background-color: #0d8de1;
}

/* 🪶 Floating Tweet Button */
.floating-tweet-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #1DA1F2;
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.floating-tweet-btn:hover {
  transform: scale(1.05);
  background-color: #0d8de1;
}


