body {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    background: #f5f7fb;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 40px auto;
}

h1 {
    text-align: center;
    color: #333;
}

.upload-box {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,.1);
    text-align: center;
    margin-bottom: 30px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
    gap: 25px;
}

.card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.actions {
    padding: 15px;
    display: flex;
    justify-content: space-between;
}

.btn {
    border: none;
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
}

.download {
    background: #3498db;
}

.delete {
    background: #e74c3c;
}

.upload {
    background: #2ecc71;
}

.tabs{
    display:flex;
    gap:10px;
    margin-bottom:25px;
}

.tab-btn{
    border:none;
    background:#ddd;
    padding:12px 25px;
    border-radius:10px;
    cursor:pointer;
    font-size:16px;
}

.tab-btn.active{
    background:#3498db;
    color:white;
}

.tab-content{
    display:none;
}

.tab-content.active{
    display:block;
}

textarea{
    width:100%;
    min-height:200px;
    font-size:16px;
    padding:15px;
    border-radius:10px;
    margin-bottom:15px;
}

.clipboard-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:20px;

}

.clip-card{

    background:white;

    border-radius:12px;

    padding:15px;

    box-shadow:0 4px 10px rgba(0,0,0,.1);

}

.clip-card textarea{

    width:100%;

    height:100px;

    resize:none;

}

.clip-buttons{

    display:flex;

    justify-content:space-between;

    margin-top:10px;

}
