* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
@media (max-width: 400px) {
    .register {
        width: 90%;
        padding: 20px;
    }
}


body {
    height: 100vh;
    background:
        linear-gradient(rgba(62,39,35,0.7), rgba(111,78,55,0.7)),
        url("rback.png");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}


.register {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    width: 350px;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}


h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #6f4e37;
}


.register input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: 0.3s;
}

.register input:focus {
    outline: none;
    border-color: #6f4e37;
    box-shadow: 0 0 5px rgba(111,78,55,0.5);
}

/* Button */
.register button {
    width: 100%;
    padding: 12px;
    background: #6f4e37;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.register button:hover {
    background: #3e2723;
    transform: translateY(-2px);
}

/* Text */
.register p {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
}

.register a {
    color: #6f4e37;
    text-decoration: none;
    font-weight: bold;
}

.register a:hover {
    text-decoration: underline;
}
#error {
    color: #d32f2f;
    font-size: 13px;
    text-align: center;
    margin-bottom: 10px;
}
.register input:focus {
    transform: scale(1.02);
}
.register button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

