/* --- Global Resets & Typography --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: #f5f8fa;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.register-container {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Logo Box Styling --- */
.logo-box {
    background: #ffffff;
    padding: 12px 36px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 10px 25px rgba(30, 98, 236, 0.08);
    border: 1px solid rgba(230, 235, 245, 0.8);
}

.logo-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(to right, #2575fc, #1ad1b7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Input Fields Styles --- */
form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.input-group {
    position: relative;
    width: 100%;
}

.input-group input {
    width: 100%;
    padding: 16px 48px;
    background-color: #f1f3f6;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 15px;
    color: #333333;
    outline: none;
    transition: all 0.2s ease-in-out;
}

.input-group input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.input-group input:focus {
    background-color: #ffffff;
    border-color: #1e62ec;
    box-shadow: 0 0 0 3px rgba(30, 98, 236, 0.1);
}

/* Icons Inside Inputs */
.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.input-icon svg {
    width: 18px;
    height: 18px;
}

.dot-icon {
    font-size: 22px;
    left: 20px;
}

/* Visibility Eyeball Toggles */
.toggle-password {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.toggle-password svg {
    width: 18px;
    height: 18px;
}

.toggle-password.visible {
    color: #1e62ec;
}

/* Field Validation Diagnostics */
.error-msg {
    position: absolute;
    bottom: -15px;
    left: 12px;
    font-size: 11px;
    color: #f23645;
    display: none;
}

/* --- Gradient Action Pill Button --- */
.btn-register {
    margin-top: 10px;
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(to right, #00c6ff, #0072ff);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 114, 255, 0.3);
    transition: all 0.2s ease;
}

.btn-register:hover {
    opacity: 0.95;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 114, 255, 0.4);
}

.btn-register:active {
    transform: translateY(0);
}

/* --- Footer Elements --- */
.form-footer {
    margin-top: 32px;
    font-size: 14px;
    color: #6b7280;
    text-align: center;
}

.form-footer a {
    color: #0072ff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 4px;
}

.form-footer a:hover {
    text-decoration: underline;
}