*{
    box-sizing: border-box;
}

body{

    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: url("../images/bg4.png");
    background-size: cover;
}

.login-container{
    display: flex;
    width: 800px;
    height: 490px;
    background: rgba(255,255,255,0.85);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2 );
    overflow: hidden;
}
.register-container{
    display: flex;
    width: 800px;
    height: 700px;
    background: rgba(255,255,255,0.85);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2 );
    overflow: hidden;
}

.container{
    width: 800px;
    height: 90vh;
    background: rgba(255,255,255,0.85);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2 );
    overflow: hidden;
    padding:20px;
}

.form-left{
    flex:1;
    background: linear-gradient(135deg, #37732e, #76b62a);
    color: white;
    padding: 50px;
}
.form-right{
    flex:1;
    padding: 10px 40px;
}

.form-group{
    margin-bottom: 10px;
}

.form-group input,
.form-group select{
    width: 100%;
    padding: 12px 15px;
    border:1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;

}

.form-group input:focus,
.form-group select:focus{
    border-color: rgba(131, 68, 168, 0.53);
    box-shadow: 0 0 0 2px rgba(52,152,219,0.2);
    outline: none;
}

.login-btn{
    width: 100%;
    padding: 14px;
    background: #37732e;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;

}

.switch{
    text-align: center;
    margin-top:10px;
    color: #666;
}
.switch a{
    color: #37732e;
    text-decoration: none;
}

.copyright{
    text-align: center;
    margin-top:10px;
    color:#aaa;
    font-size: 14px;
}

.error{
    color:red;
}


table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    border: 1px solid #ffffff;
    padding: 12px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

tr {
    background-color: #fff;
}

tr:nth-child(2n) {
    background-color: #e6f7ff;
}

tr:hover {
    background-color: #b6dffb
}

.btn {
    padding: 5px 10px;
    margin: 2px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-edit {
    background: #28a745;
    color: white;
}

.btn-delete {
    background: #dc3545;
    color: white;
}