* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background:
      radial-gradient(1200px 600px at 20% 0%, rgba(152, 197, 255, 0.45) 0%, rgba(152, 197, 255, 0) 65%),
      radial-gradient(1000px 500px at 100% 100%, rgba(30, 64, 175, 0.25) 0%, rgba(30, 64, 175, 0) 60%),
      linear-gradient(135deg,
        #38bdf8 0%,
        #60a5fa 35%,
        #3b82f6 55%,
        #2563eb 75%,
        #1d4ed8 100%
      );
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    color: #1e293b;
    line-height: 1.6;
    font-size: 18px;
    position: relative;
}



.register_container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    min-height: 100vh;
}

/* Premium card with stronger border & shadow */
.register_form {
    max-width: 960px;
    margin: 60px auto;
    padding: 44px;
    border-radius: 22px;
    background:
      radial-gradient(140% 180% at 30% 8%, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.94) 42%, rgba(255,255,255,0.92) 100%) padding-box,
      linear-gradient(180deg, rgba(210,224,255,0.9), rgba(255,255,255,0.7)) border-box;
    box-shadow: 50px 50px 500px #5cceff;



    transition: transform .2s ease, box-shadow .2s ease;
}

.register_form:hover {
    transform: translateY(-3px);
    box-shadow: 0 28px 56px rgba(17, 45, 109, 0.28), 0 2px 10px rgba(17, 45, 109, 0.08) inset;
}

.form_row {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.form_row .form_group {
    flex: 1;
    margin-bottom: 0;
}

.form_title {
    text-align: center;
    margin-bottom: 28px;
    color: #000000;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.form_group {
    margin-bottom: 22px;
}

.form_group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #0f172a;
}

.form_group input {
    width: 100%;
    padding: 15px 16px;
    border: 2px solid #c9d4ee;
    border-radius: 14px;
    font-size: 16px;
    color: #0f172a;
    transition: box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
    background: #ffffff;
}

.form_group input:hover {
    box-shadow: 0 2px 0 rgba(15, 23, 42, 0.06) inset;
}

.form_group input:focus {
    outline: none;
    border-color: #1e66f5;
    box-shadow: 0 0 0 3px rgba(30, 102, 245, 0.16), 0 2px 0 rgba(15, 23, 42, 0.06) inset;
}

/* Buttons */
.btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.btn_primary {
    background: linear-gradient(45deg, #518df5, #3075ff);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(30, 102, 245, 0.28);
}

.btn_primary:hover {
    background: linear-gradient(45deg, #2f6ae0, #1554cf);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(30, 102, 245, 0.36);
}

.form_links{
    text-align: center;
    margin-top: 25px;
}

.form_links a{
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.form_links a:hover{
    color:#000000;
}

form_group input.error,
.form-group select.error {
    border-color: #ff4757;
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}

.error-message {
    color: #ff4757;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.success-message {
    color: #2ed573;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}