* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f5f5f5;
    padding: 40px 0;
}

.signup-container {
    background: #fff;
    padding: 45px 35px;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    max-width: 540px;
    /* increased width */
    width: 95%;
    text-align: center;
}

/* ----- Attractive Title Styling ----- */
h2 {
    margin-bottom: 25px;
    color: #333;
    font-size: 1.7rem;
    /* bigger */
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.5px;
    padding: 10px 0;

    /* subtle premium effect */
    background: linear-gradient(to right, #f6f6f6, #ffffff);
    border-radius: 8px;
}

h2 span {
    color: #B55E8A;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.password-wrapper {
    position: relative;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
}

.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
    width: 100%;
    padding: 14px 45px 14px 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.2s ease;
    border-radius: 4px;
    z-index: 10;
}

.password-toggle:hover {
    color: #333;
    background-color: rgba(0, 0, 0, 0.05);
}

.password-toggle:active {
    transform: translateY(-50%) scale(0.95);
}

.password-toggle svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.btn {
    width: 100%;
    padding: 13px;
    background-color: #B55E8A;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.btn:hover {
    background-color: #9c4c76;
}

.or-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 22px 0;
    color: #aaa;
    font-weight: bold;
}

.or-separator::before,
.or-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ccc;
    margin: 0 12px;
}

.btn-google {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: #fff;
    color: #444;
    border: 1px solid #ccc;
    padding: 12px 20px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-google:hover {
    background-color: #f0f0f0;
}

.btn-google svg {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.login-link {
    margin-top: 18px;
    font-size: 15px;
}

.login-link a {
    color: #B55E8A;
    text-decoration: none;
    font-weight: bold;
}

.login-link a:hover {
    text-decoration: underline;
}

.error-box {
    background: #ffe6e6;
    color: #b30000;
    border: 1px solid #ffcccc;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* jQuery validation error styling */
label.error {
      color: #b74747;
      font-weight: normal;
      font-size: 0.85rem;
      margin-top: 4px;
      margin-left: 1px;
  }