@import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background: #f7f7f7;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Arimo", sans-serif;
}

.note-container{
    display: flex;
    align-items: center;
    justify-content: center;
    gap :24px;
    position: relative;
}

.left-icons{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.left-icons button{
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
    font-size: 18px;
}

.right-colors{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dot{
    width: 20px;
    height: 20px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.black{
    background: black;
}
.purple{
    background: #a855f7;
}
.orange{
    background: rgb(240, 93, 40);
}
.teal{
    background: teal ;
}

.stack{
    position: relative;
    width: 300px;
    height: 200px;
}

.card{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow:  0 8px 20px rgba(0,0,0,0.1);
    transition:  all 0.3s ease;
    border-left: 4px solid transparent;
}

.card:nth-child(1){
    z-index: 3;
}
.card:nth-child(2){
    z-index: 2;
    transform: translateY(10px) scale(0.98);
    opacity: 0.9;
}
.avatar{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}
h2{
    font-size: 16px;
    margin-bottom: 10px;
}
.info{
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
}
.buttons{
    margin-bottom: 15px;
}

button.call{
    background: #000;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    margin-right: 8px;
    border: none;
    cursor: pointer;
}
button.msg{
    background: #eee;
    color: #000;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    margin-right: 8px;
    border: none;
    cursor: pointer;
}
button.delete {
    background: #ff4a4a;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    margin-left: 8px;
}

.form-container{
    /* display: none; */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 999999;
    background: white;
    padding: 24px;
    border-radius: 24px;
    width: 30rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.form-container form{
    display: flex;
    flex-direction: column;
    gap: 16px;
}
h2{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

label{
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

input [type="text"]{
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid#ddd;
    font-size: 14px;
    margin-top: 6px;
}

.submit-btn{
    margin-top: 10px;
    background: #1a1a1a;
    color: #f7f7f7;
    padding: 14px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}
.submit-btn:hover{
    background: #000;
}
.closeForm{
    width: 100%;
    padding: 12px 12px;
    margin-top: 10px;
    background-color: #ff4a4a;
    border: none;
    color: #ffe1e1;
    font-weight: 500;
    border-radius: 100px;
    text-transform: capitalize;
}