
@import url('https://fonts.googleapis.com/css2?family=Schoolbell&family=Roboto:wght@400;500&display=swap');


/*            General Reset & Base           */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
}

h1, h2, h3 {
  font-family: 'Schoolbell', cursive;
  color: #fff;
}


/*          Body Background & Colors         */


body.special-page {
  background-image: url('images/background1.jpg');  
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  color: #fff;
  background-color: #333;
}


/*             Header & Navigation           */

.header {
  background-color: rgba(0, 0, 0, 0.8); 
  padding: 20px;
  text-align: center;
  border-bottom: 4px solid #fff;
  margin-bottom: 30px;
}

.header .wrapper {
  width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header h1 {
  font-size: 42px;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.menu a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  margin: 0 15px;
  padding: 8px 16px;
  border: 1px solid #fff;
  border-radius: 8px;
  transition: background-color 0.3s, color 0.3s;
}

.menu a:hover {
  background-color: #fff;
  color: #333;
}


/*        Main Content Container             */

.content {
  width: 900px;
  margin: 40px auto;
  background: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  color: #333333;
}


/*                Page Titles                */

.page-title {
  text-align: center;
  margin-bottom: 20px;
}

.page-title h2 {
  font-size: 36px;
  color: #222;
}


/*          Block Elements & Forms           */

.block {
  background: rgba(255, 255, 255, 0.97);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.block h3 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #222;
}

/* ---------- Form Fields & Inputs ---------- */
.form-input {
  width: 100%;
  padding: 12px;
  border: 2px solid #fff;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.8);
  color: #333333;
  margin-bottom: 15px;
}

.form-input-login {
  width: 100%;
  padding: 8px;
  border: 2px solid #fff;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.8);
  color: #333333;
  margin-bottom: 1px;
}

input:focus,
textarea:focus,
select:focus,
.form-input-login:focus {
  outline: none;
  box-shadow: none;
}



.form-input::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

/* ---------- Button Styles ---------- */
.btn {
  width: 100%;
  background-color: #81d185a1;
  color: #333;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #f0f0f0;
}


/*      Recipe List & Post Box Styling       */

.recipe-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recipe-list li {
  background: #ffffff;
  border: 1px solid #e1e5eb;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 15px;
  position: relative;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.recipe-list li:hover {
  transform: translateY(-4px);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
}

.recipe-list li strong {
  font-size: 22px;
  color: #222;
  font-family: 'Schoolbell', cursive;
}

.recipe-list li p {
  font-size: 16px;
  color: #555;
}

/* ---------- Delete (Rubbish Bin) Icon ---------- */
.delete-link {
  color: #e63946;
  font-size: 16px;
  position: absolute;
  right: 10px;
  top: 10px;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.delete-link:hover {
  opacity: 1;
}

.delete-link svg {
  vertical-align: middle;
}

/* ---------- Author Styling ---------- */
.recipe-author {
  font-size: 14px;
  color: #666;
  margin-top: 10px;
  text-align: right;
}


/*           Login Page Specific             */

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  background: inherit;
}

.login-box {
  width: 400px;
  max-width: 90%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
}

.login-box h2 {
  font-size: 28px;
  font-family: 'Schoolbell', cursive;
  color: #2c3e50;
  margin-bottom: 20px;
  text-shadow: none;
}

/* ---------- Login Form Group ---------- */
.form-label {
  font-weight: bold;
  color: #2c3e50;
  text-align: left;
  display: block;
  margin-bottom: 5px;
}

.form-group {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border: 2px solid #2c3e50;
  border-radius: 8px;
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.8);
}

.form-icon {
  width: 18px;
  fill: #2c3e50;
  margin-right: 10px;
  flex-shrink: 0;
  
}

.login-form .form-input {
  border: none;
  background: transparent;
  font-size: 16px;
  color: #2c3e50;
  flex-grow: 1;
  padding: 8px 0;
}

.login-form .form-input:focus {
  outline: none;
}

.register-link {
  font-size: 16px;
  margin-top: 15px;
  color: #222;
}

.register-link a {
  color: #0000FF;
  text-decoration: none;
  font-weight: normal;
}

.register-link a:hover {
  text-decoration: underline;
}


/*           Profile Detail Styling          */

.profile-block {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.profile-detail {
  background: #f7faff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.profile-detail strong {
  font-size: 16px;
  color: #0077b6;
  margin-bottom: 5px;
  display: block;
}

