* {
    box-sizing: border-box;
    margin: 0; padding: 0;
}
body {
    font-family: 'Poppins', sans-serif;
    background: #121825;
    min-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #fff;
}
.register-container {
    background-color: #1f2b3a;
    padding: 30px 25px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 380px;
}
.register-header {
    text-align: center;
    margin-bottom: 18px;
}
.register-header h1 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}
.form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}
.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.form-group label {
    font-size: 12px;
    margin-bottom: 4px;
    color: #bbb;
}

.input-wrapper {
    position: relative;
}
.input-wrapper .icon {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 14px;
}

.input-wrapper input {
    width: 100%;
    padding: 10px 38px 10px 35px;
    font-size: 14px;
    border: none;
    border-radius: 8px;
    background-color: #2a3b4d;
    color: #fff;
}
.input-wrapper input::placeholder {
    color: #bbb;
}
.input-wrapper input:focus {
    outline: none;
    background-color: #34495e;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: 14px;
}

.register-button {
    background: linear-gradient(to right, #7f5af0, #5b3ddc);
    border: none;
    padding: 9px;
    width: 100%;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: 0.3s ease;
    margin-top: 10px;
}
.register-button:hover {
    background: linear-gradient(to right, #6b4be5, #472fc7);
}
.social-login {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}
.social-login a {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    color: white;
    transition: background-color 0.3s ease;
}
.social-login .facebook {
    background-color: #3b5998;
}
.social-login .facebook:hover {
    background-color: #2d4373;
}
.social-login .google {
    background-color: #db4437;
}
.social-login .google:hover {
    background-color: #c23321;
}
.forgot-password {
    text-align: center;
    margin-top: 12px;
}
.forgot-password a {
    color: #aaa;
    font-size: 12px;
    text-decoration: none;
}
.forgot-password a:hover {
    text-decoration: underline;
}
.alert {
    background-color: #e63946;
    padding: 9px;
    border-radius: 6px;
    text-align: center;
    margin-bottom: 15px;
    color: white;
    font-size: 13px;
}
.alert-success {
    background-color: #2ecc71;
}