* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #2f2f2f;
    color: #fff;
}

.navbar {
    background: #b22222;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 15px 30px;
}

.logo-box {
    background-color: white;
    color: #b22222;
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 20px;
}

.logo-box strong {
    color: #b22222;
}

.signup-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

.signup-box {
    background: #8a8a8a;
    width: 550px;
    padding: 35px 50px;
    color: white;
    border-radius: 8px;
}

.signup-box h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 28px;
}

.signup-box label {
    display: block;
    margin: 15px 0 8px;
    font-weight: bold;
}

.signup-box input, 
.signup-box .country-select {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: none;
    background: #cfcfcf;
    color: #333;
    outline: none;
}

.country-select {
    cursor: pointer;
}

.password-wrapper {
    position: relative; 
    margin-bottom: 10px;
}

.password-wrapper input[type="password"] {
    width: 100%;
    padding: 12px 40px 12px 12px; 
    border-radius: 12px;
    border: none;
    background: #cfcfcf;
    color: #333;
    outline: none;
}

.password-wrapper .toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #555;
    font-size: 18px;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear,
input[type="password"]::-webkit-password-toggle-button {
    display: none;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
}

.checkbox input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox p {
    font-size: 13px;
    line-height: 1.4;
}

.signup-btn {
    display: block;
    width: 200px;
    margin: 30px auto 0;
    padding: 15px;
    background: #ffd36b;
    color: #b22222;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.signup-btn:hover {
    background: white;
}

.messages {
    margin-top: 10px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.alert {
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 10px;
}

.alert.error {
    background-color: #ffe5e5;
    color: #b30000;
    border: 1px solid #ffb3b3;
}
