@import url('https://fonts.googleapis.com/css2?family=Martel+Sans:wght@600&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root {
    --primary-color: #c72929;
    --primary-hover-color: #b52323;
    --input-background: #f8f9fa;
    --input-focus-shadow: rgba(199, 41, 41, 0.2);
    --animation-timing: 0.3s ease-in-out;
    --input-border-color: #ecedec;
  }
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #e9ecef; /* Greyish background */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    font-family: 'poppins', sans-serif;
    color: #2f3542;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

.card {
    background-color: white;
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /* Removed hover effect */
}

.card h2 {
    margin-bottom: 25px;
    font-size: 26px;
    font-weight: 600;
    color: #e2210b;
    text-align: center;
}

.form {
    display: flex;
    flex-direction: column;
}

.input-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}

.input-group label {
    margin-bottom: 6px;
    font-weight: 500;
    color: #2f3542;
}

.input-group input,
.input-group select,
.input-group textarea {
    padding: 12px 14px;
    border: 1px solid #dcdde1;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

input:focus {
    -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

textarea {
    resize: none;
}

.btn-register {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-register:hover {
    background-color: #c0392b;
}

.return-home {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: white;
    border: 1px solid var(--primary-color); /* Changed border color to red */
    border-radius: 8px;
    padding: 8px 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  .return-home a {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
  }
  
  .return-home:hover {
    background-color: var(--primary-color);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  }
  
  .return-home a:hover {
    color: white;
  }


  .return-home {

    text-align: center;
    margin-top: 12px;
  }
  
  .return-home a {
    color: #a62a2a;
    font-size: 14px;
    transition: color 0.3s;
  }

.dark-mode-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, box-shadow 0.3s;
}

.dark-mode-btn:hover {
    background-color: var(--primary-hover-color);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
