/* ============================================================
   Profile Match & Like – Frontend Styles
   ============================================================ */

/* ------------------------------
   Grundlayout
   ------------------------------ */
.pml-list {
    margin: 30px 0;
}

.pml-list h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #eee;
    padding-bottom: 6px;
}


/* ------------------------------
   Benutzerkarte
   ------------------------------ */
.pml-card {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 14px;
    margin-bottom: 12px;
    border-radius: 10px;
    border: 1px solid #eee;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s ease;
}

.pml-card:hover {
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.pml-card-left {
    margin-right: 12px;
}

.pml-avatar {
    border-radius: 50%;
    object-fit: cover;
}


/* ------------------------------
   Textbereiche
   ------------------------------ */
.pml-name {
    font-size: 1.2rem;
    margin-bottom: 4px;
    display: block;
}

.pml-card-right .pml-meta {
    font-size: 0.9rem;
    color: #777;
}

.pml-extra {
    margin-top: 8px;
}


/* ------------------------------
   Buttons
   ------------------------------ */
.pml-btn-like{
    display: inline-block;
    background: #ff8b00; /* Corporate Orange */
    color: #fff !important;
    padding: 6px 10px 6px 10px;
    border-radius: 15px !important;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.pml-btn-message,
.pml-btn {
    display: inline-block;
    background: #ff8b00; /* Corporate Orange */
    color: #fff !important;
    padding: 6px 10px 0 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.pml-btn-like:hover,
.pml-btn-message:hover,
.pml-btn:hover {
    background: #e07a00;
}

.pml-btn-like {
    background: #ff8b00;
}

.pml-btn-like:hover {
    background: #e07a00;
}

.pml-btn-message {
    margin-top: 8px;
}


/* ------------------------------
   Hinweise
   ------------------------------ */
.pml-hint {
    font-size: 0.85rem;
    color: #999;
}


/* ------------------------------
   Formular
   ------------------------------ */
.pml-like-form {
    margin-top: 12px;
    display:inline-block;
}

.pml-message-after-like{
    display:inline-block;
}

.pml-message-after-like .pml-btn-message{
    width: auto !important;
    padding: 6px 10px;
}

.pml-message-after-like .pml-btn-message span{
    padding-top:3px;
}

/*
    Minus Plus Badge
 */
.pml-btn-like {
    position: relative;
}

.pml-btn-like.minus::after {
    content: "-";
    position: absolute;
    top: -4px;
    right: -4px;
    background: red;
    color: white;
    font-size: 10px;
    line-height: 12px;
    width: 12px;
    height: 12px;
    text-align: center;
    border-radius: 50%;
    font-weight: bold;
}

.pml-btn-like.plus::after {
    content: "+";
    position: absolute;
    top: -4px;
    right: -4px;
    background: #43A047;
    color: white;
    font-size: 10px;
    line-height: 12px;
    width: 12px;
    height: 12px;
    text-align: center;
    border-radius: 50%;
    font-weight: bold;
}


/* ------------------------------
   Responsive
   ------------------------------ */
@media (max-width: 480px) {
    .pml-card {
        flex-direction: column;
        text-align: center;
    }

    .pml-card-left {
        margin-right: 0;
        margin-bottom: 10px;
    }
}
