/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: Arial, sans-serif;
}

/* BODY */
body{
    background:#f4f6f9;
}

/* NAVBAR */
nav{
    background:#2c3e50;
    padding:15px;
}

nav a{
    color:white;
    margin-right:20px;
    text-decoration:none;
    font-weight:bold;
}

/* CONTAINER */
.add-container{
    max-width:900px;
    margin:50px auto;
    background:white;
    padding:40px;
    border-radius:10px;
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

/* TITLE */
h1{
    text-align:center;
    margin-bottom:10px;
}

.sub{
    text-align:center;
    color:#666;
    margin-bottom:30px;
}

/* GRID */
.form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.field{
    display:flex;
    flex-direction:column;
}

.field.full{
    grid-column:1 / 3;
}

/* LABEL */
label{
    margin-bottom:5px;
    font-weight:bold;
}

/* INPUTS */
input, select, textarea{
    padding:10px;
    border:1px solid #ccc;
    border-radius:5px;
    font-size:14px;
}

/* TEXTAREA */
textarea{
    min-height:120px;
}

/* SMALL TEXT */
small{
    color:#777;
    font-size:12px;
}

/* BUTTON */
.btn-main{
    margin-top:30px;
    width:100%;
    padding:15px;
    background:#3498db;
    color:white;
    border:none;
    border-radius:8px;
    font-size:16px;
    cursor:pointer;
}

.btn-main:hover{
    background:#2980b9;
}

/* SUCCESS MESSAGE */
.success-popup{
    text-align:center;
    color:green;
    font-size:20px;
    font-weight:bold;
    margin-bottom:20px;
}

/* ERROR */
.error{
    color:red;
    text-align:center;
    margin-bottom:20px;
}

/* MOBILE */
@media(max-width:700px){
    .form-grid{
        grid-template-columns:1fr;
    }

    .field.full{
        grid-column:1;
    }
}