* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
a{
text-decoration: none;
outline: none;
user-select: none;
}
body {
background-color: #fff;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
padding: 0;
color: #333;
}
/* Header */
.header {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 999;
display: flex;
justify-content: space-between;
align-items: center;
background: #3498db;
padding: 10px;
}

.header .title{
font-size: 28px;
margin: 0;
}
.title a{
color:#fff;
}

.add-btn {
background: #3498db;
color: #fff;
font-size: 28px;
border: none;
border-radius: 5px;
width: 35px;
height: 35px;
cursor: pointer;
font-weight: 700;
}

.login-container {
  width: 100%;
  max-width: 600px;
  padding: 40px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.06);
  margin: 70px auto 10px auto;
}

.alert {
  padding: 10px;
  margin: 15px 0;
  border-radius: 5px;
  font-weight: bold;
}

.alert.success {
  color: green;
  background-color: #e1f3e1;
}

.alert.error {
  color: red;
  background-color: #fbeaea;
}

.twitter-logo {
  display: block;
  margin: 0 auto 30px;
  font-size: 48px;
  color: #1DA1F2;
}

h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #0f1419;
  font-weight: 600;
}

.form-group {
  position: relative;
  margin-bottom: 20px;
}

/* Common icon style inside form-group */
.form-group i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
  font-size: 16px;
}

/* Left-side icons */
.form-group .fa-lock,
.form-group .fa-envelope,
.form-group .fa-user,
.form-group .fa-globe {
  left: 15px;
}

/* Right-side eye icon */
.form-group .toggle-password {
  right: 15px;
  cursor: pointer;
  position: absolute;
  pointer-events: auto;
  color: #999;
}

/* Input and select styles */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group select {
  width: 100%;
  padding: 12px 45px 12px 45px; /* Left & right padding for icons */
  border: 1px solid #ccc;
  border-radius: 30px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

/* Focus state */
.form-group input:focus,
.form-group select:focus {
  border-color: #1DA1F2;
}

/* Submit button */
.btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 30px;
  background-color: #1DA1F2;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #0d8ddb;
}

.footer2 {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #555;
}

.footer2 a {
  color: #1DA1F2;
  text-decoration: none;
  cursor: pointer;
}

/* Footer Base Style */
.x-footer {
  background-color: #fff;
  color: #444;
  padding: 20px 0;
  font-size: 14px;
  border-top: 1px solid #ddd;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-links {
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.footer-links a {
  color: #444;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-copy a {
  color: #3498db;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 420px) {
  .container {
    width: 90%;
    padding: 30px;
  }
}
