@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,900&display=swap');
:root{
    --gray-900: #000000;
    --gray-800: #1C1C1C;
    --gray-700: #333333;
    --gray-600: #4D4D4D;
    --gray-500: #666666;
    --gray-400: #808080;
    --gray-300: #999999;
    --gray-200: #B3B3B3;
    --gray-100: #CCCCCC;
    --gray-50: #E6E6E6;
    --text-primary: #9c27b0;
    --bg-warning: #ff9800;
    --bg-danger: #f44336;
    --bg-success: #4caf50;
    --destak-grad: linear-gradient(60deg, #ab47bc, #8e24aa);
    --destak-grad-hover: linear-gradient(60deg, #ab47bc, #8e24aa);
    
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body{
    background-color: var(--gray-50);
    color: var(--gray-700);
}

.shadow {
    -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

.right {
    align-self: flex-end;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select
{
    -webkit-text-size-adjust: 100%;
    -webkit-box-direction: normal;
    word-wrap: break-word;
    border-collapse: collapse;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    margin: 0;
    font-family: inherit;
    overflow: visible;
    -webkit-font-smoothing: antialiased;
    display: block;
    width: 100%;
    padding: 0.4375rem 0;
    color: #495057;
    box-shadow: none;
    background: no-repeat center bottom, center calc(100% - 1px);
    background-size: 0 100%, 100% 100%;
    border: 0;
    height: 36px;
    transition: background 0s ease-out;
    padding-left: 0;
    padding-right: 0;
    border-radius: 0;
    font-size: 14px;
    background-image: linear-gradient(to top, #9c27b0 2px, rgba(156, 39, 176, 0) 2px), linear-gradient(to top, #d2d2d2 1px, rgba(210, 210, 210, 0) 1px);
    line-height: 1.1;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus{
    background-size: 100% 100%, 100% 100%;
    outline: 0;
    background-image: linear-gradient(to top, #9c27b0 2px, rgba(156, 39, 176, 0) 2px), linear-gradient(to top, #d2d2d2 1px, rgba(210, 210, 210, 0) 1px);
}

input.xl {
    font-size: 4rem;
    height: 4.2rem;
    width: 20rem;
}

.container {
    width: 100%;
    height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--gray-50);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--gray-700);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

nav ul{
    width: 100%;
    display: flex;
    gap: 2rem;
    justify-content: space-around;
}

nav li{
    list-style: none;
    opacity: .5;
}

nav li:hover{
    opacity: .8;
}

nav li.active{
    opacity: 1;
}

nav a{
    text-decoration: none;
    color: #FFF;
    font-weight: 500;
    transition: all .3s ease-in-out;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.row {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    gap: 2rem;
}

.box {
    margin: 30px;
    padding: 50px 20px 20px 20px;
    border-radius: 6px;
    color: var(--gray-700);
    background: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
}

.box.md {
    width: 50%;
    margin: 30px auto;
}

.box.md {
    width: 80%;
    margin: 30px auto;
}

.box-title {
    position: absolute;
    color: #fff;
    z-index: 3 !important;
    margin: 0px 15px 0;
    background: linear-gradient(60deg, #ab47bc, #8e24aa);
    box-shadow: 0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(156, 39, 176, 0.4);
    border-radius: 3px;
    top: -20px;
    padding: 15px 30px;
}

.box-title h2{
    display: flex;
    gap: .5rem;
    align-items: center;
    font-weight: 300;
}
.box-title h3{
    align-items: center;
    font-weight: 100;
    font-size: .9rem;
    opacity: .7;
    margin-top: .5rem;
}

.box-title h3 span{
    font-size: 2rem;
}

.box-title.orange{
    background: linear-gradient(60deg, #ffa726, #fb8c00);
}

.box-title.green{
    background: linear-gradient(60deg, #66bb6a, #43a047);
}
.box-title.red{
    background: linear-gradient(60deg, #ef5350, #e53935);
}

.box-title.blue{
    background: linear-gradient(60deg, #26c6da, #00acc1);
}

.box-body{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.box-body h3{
    font-weight: 300;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.box-body table{
    width: 100%;
    border-collapse: collapse;
}

.box-body table thead tr th{
    padding: 10px 0;
    text-align: left;
    font-weight: 300;
    font-size: 1rem;
    color: var(--text-primary);
}

.box-body table tbody tr td{
    padding: 10px 0;
    font-weight: 300;
    font-size: 1rem;
    color: var(--gray-700);
}

.box-body form{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.box-body h4{
    font-weight: 300;
    font-size: 3rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.box-body small{
    font-weight: 300;
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.box-category{
    color: var(--gray-500);
}

.btn {
    border: 0;
    text-align: center;
    font-weight: 400;
    text-decoration: none;
    text-transform: uppercase;
    outline: 0;
    color: #fff;
    background-color: var(--gray-500);
    padding: 0.5rem 1.25rem;
    font-size: 0.7rem;
    line-height: 1.5;
    border-radius: 0.2rem;
    cursor: pointer;
}

.btn-warning {
    background-color: var(--bg-warning);
}

.btn-primary {
    background-color: var(--text-primary);
}

.btn-danger {
    background-color: var(--bg-danger);
}

.btn-success {
    background-color: var(--bg-success);
}

.btn:hover{
    opacity: 0.8;
}

.alert {
    padding: 0.75rem 1.25rem;
    margin: 2rem;
    border-radius: 0.25rem;
    line-height: 1.5;
    color: #fff;
    background-color: var(--bg-warning);
}

.alert.success{
    background-color: var(--bg-success);
}

.alert.error{
    background-color: var(--bg-danger);
}

.text-danger{
    color: var(--bg-danger) !important;
}

.text-success{
    color: var(--bg-success) !important;
}

.modal {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 0;
}