body {
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    background-color: #c0c9d7;
    direction: rtl;
    text-align: center;
    padding: 20px;
}

h1 {
    color: #000000;
}

#contact-form {
    background: white;
    padding: 20px;
    border-radius: 8px;
    display: inline-block;
    border: 1px solid #ccc;
    margin-bottom: 30px;
}

input {
    margin: 5px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

input[type="submit"] {
    background-color: #000000;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

input[type="submit"]:hover {
    background-color: #606469;
}

#contacts {
    max-width: 400px;
    margin: 0 auto;
    background: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
}

#contacts div {
    padding: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#contacts div:last-child {
    border-bottom: none;
}

.contact-name {
    color: #c0c9d7;
    font-weight: bold;
}

select {
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
}


.actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px; 
}

.actions button {
    padding: 10px 20px;
    border-radius: 4px;
    border: 1px solid #000;
    background-color: white;
    color: #000;
    cursor: pointer;
    font-family: inherit;
    font-weight: bold;
    transition: 0.3s;
}

.actions button:hover {
    background-color: #606469;
    border: #606469;
;
    color: white;
}

#btn-clear-storage {
    border-color: #8b0000;
    color: #8b0000;
}

#btn-clear-storage:hover {
    background-color: #8b0000;
    color: white;
}


#details-container {
    background: white;
    max-width: 300px;
    margin: 30px auto;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); 
    text-align: right;
}

#details-container p {
    margin: 15px 0;
    font-size: 1.1em;
    border-bottom: 1px dashed #eee;
    padding-bottom: 8px;
}

a[href="index.html"] {
    display: inline-block;
    margin-top: 20px;
    color: #606469;
    text-decoration: none;
    font-size: 0.9em;
}

a[href="index.html"]:hover {
    text-decoration: underline;
}