/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #f5f7fa;
  color: #333;
  padding: 20px;
  line-height: 1.6;
}

/* Centered container */
.container {
  max-width: 600px;
  background: #fff;
  margin: 50px auto;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

h1, h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #0077cc;
}

p {
  margin-bottom: 15px;
}

form label {
  display: block;
  margin: 10px 0;
  background: #e6f0ff;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.3s;
}

form label:hover {
  background: #cce0ff;
}

input[type="radio"] {
  margin-right: 8px;
}

button {
  display: block;
  width: 100%;
  padding: 12px;
  background: #0077cc;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.3s;
}

button:hover {
  background: #005fa3;
}

 Container for centering 

.auth-links {
    text-align: center;
    margin-top: 30px;
}

/* Center the container */
.auth-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 30px;
    gap: 10px;
}

/* Button-style links */
.auth-links a {
    display: inline-block;
    background: linear-gradient(to right, #007bff, #00c6ff);
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2);
    font-size: 16px;
    text-align: center;
}

.auth-links a:hover {
    background: linear-gradient(to right, #0056b3, #0099cc);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 123, 255, 0.3);
    text-decoration: none;

}


a {
  color: #0077cc;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.success {
  color: green;
  text-align: center;
  font-weight: bold;
  margin-bottom: 15px;
}

.error {
  color: red;
  text-align: center;
  font-weight: bold;
  margin-bottom: 15px;
}

footer {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: #999;
}

@media screen and (max-width: 768px) {
  .container {
    margin: 20px;
    padding: 20px;
  }

  button {
    font-size: 14px;
    padding: 10px;
  }
}
/* Placeholder styling for all input fields */
::placeholder {
    color: #888;
    font-style: italic;
    font-size: 14px;
    opacity: 0.8; /* For better visibility */
}

/* For WebKit browsers (Chrome, Safari) */
input::-webkit-input-placeholder {
    color: #888;
    font-style: italic;
}

/* For Firefox */
input::-moz-placeholder {
    color: #888;
    font-style: italic;
}

/* For Internet Explorer 10-11 */
input:-ms-input-placeholder {
    color: #888;
    font-style: italic;
}

/* For Microsoft Edge */
input::-ms-input-placeholder {
    color: #888;
    font-style: italic;
}
input, button {
    font-size: 16px;
}

@media (max-width: 600px) {
    input, button {
        width: 100%;
        font-size: 16px;
    }
}
/* General form container */
.container {
    max-width: 400px;
    margin: 50px auto;
    padding: 25px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    font-family: 'Segoe UI', sans-serif;
}

/* Form heading */
.container h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}

/* Input styling */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select {
    width: 100%;
    padding: 12px 15px;
    margin: 10px 0 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 15px;
    transition: 0.3s border;
}

input:focus {
    border-color: #007bff;
    outline: none;
}

/* Submit button */
button[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

/* Error and success messages */
.error {
    color: #d8000c;
    background-color: #ffdddd;
    padding: 10px;
    border-left: 6px solid #f44336;
    margin-bottom: 15px;
    border-radius: 4px;
}

.success {
    color: #155724;
    background-color: #d4edda;
    padding: 10px;
    border-left: 6px solid #28a745;
    margin-bottom: 15px;
    border-radius: 4px;
}

/* Links */
a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
.no-underline {
    text-decoration: none;
    color: #007bff;
    transition: color 0.3s ease;
}

.no-underline:hover {
    color: #0056b3;
    text-decoration: none;
}

/* style.css */

/* Base styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
    color: #333;
}

.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="password"],
button {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    background-color: #45a049;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

p.error {
    color: red;
    text-align: center;
}

p.success {
    color: green;
    text-align: center;
}

/* Responsive tweaks */
@media (max-width: 600px) {
    .container {
        width: 95%;
        padding: 15px;
    }

    input[type="text"],
    input[type="email"],
    input[type="password"],
    button {
        font-size: 14px;
        padding: 10px;
    }
}

.btn {
  display: inline-block;
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  margin: 5px;
}

.btn:hover {
  background-color: #0056b3;
}

