.rc-shifts-grid{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
gap:28px;
margin-top:40px;
}

.rc-shift-card{
display:block;
background:#fff;
border-radius:14px;
overflow:hidden;
text-decoration:none;
color:#111;
box-shadow:0 8px 22px rgba(0,0,0,0.08);
transition:all .25s ease;
}

.rc-shift-card:hover{
transform:translateY(-6px);
box-shadow:0 16px 40px rgba(0,0,0,0.15);
}

/* IMAGE */

.rc-card-image{
width:100%;
height:160px;
overflow:hidden;
background:#ddd;
position:relative;
}

.rc-card-image img{
width:100%;
height:100%;
object-fit:cover;
}

/* 🔥 NY: GRADIENT FÖR LÄSBARHET */

.rc-image-wrapper::after{
content:'';
position:absolute;
bottom:0;
left:0;
width:100%;
height:70px;
background:linear-gradient(to top, rgba(0,0,0,0.65), transparent);
z-index:1;
}

/* BODY */

.rc-card-body{
padding:18px;
}

.rc-card-body h3{
font-size:18px;
font-weight:600;
margin-bottom:6px;
}

.rc-date{
font-size:14px;
color:#666;
margin-bottom:8px;
}

.rc-card-body p{
font-size:14px;
margin:4px 0;
}

.rc-candidates{
margin-top:10px;
font-size:13px;
color:#777;
}

/* IMAGE WRAPPER */

.rc-image-wrapper{
position:relative;
}

/* 🔥 COMPANY BLOCK (LOGO + NAMN + STAD) */

.rc-company{
position:absolute;
bottom:10px;
left:16px;
display:flex;
align-items:center;
gap:10px;
z-index:2;
}

.rc-company-meta{
display:flex;
flex-direction:column;
line-height:1.1;
}

/* LOGO */

.rc-company .rc-logo{
width:42px;
height:42px;
border-radius:50%;
object-fit:cover;
border:3px solid #fff;
background:#fff;
}

/* NAMN */

.rc-company-name{
color:#fff;
font-weight:600;
font-size:13px;
text-shadow:0 3px 10px rgba(0,0,0,0.85);
}

/* 🔥 NY: STAD */

.rc-company-city{
font-size:11px;
color:#e5e5e5;
text-shadow:0 2px 6px rgba(0,0,0,0.7);
margin-top:2px;
}

/* PAY BADGE */

.rc-pay{
display:inline-block;
background:#2563eb;
color:#fff;
font-size:12px;
padding:4px 8px;
border-radius:6px;
margin-top:6px;
}

/* BADGE */

.rc-badge{
position:absolute;
top:10px;
left:10px;
background:#111;
color:#fff;
font-size:12px;
padding:5px 8px;
border-radius:6px;
}

/* STAFF TEXT */

.rc-staff{
font-size:13px;
color:#444;
font-weight:500;
}

/* MOBILE */

@media(max-width:700px){

.rc-shifts-grid{
grid-template-columns:1fr;
gap:18px;
}

}

/* ROLE POPUP */

.rc-role-overlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.6);
display:flex;
align-items:center;
justify-content:center;
z-index:9999;
}

.rc-role-box{
background:#fff;
padding:40px;
border-radius:12px;
text-align:center;
max-width:400px;
width:90%;
}

.rc-role-btn{
display:block;
margin:15px 0;
padding:14px;
border-radius:8px;
text-decoration:none;
font-weight:600;
}

.rc-role-employer{
background:#16a34a;
color:#fff;
}

.rc-role-crew{
background:#2563eb;
color:#fff;
}

/* PROFILE SETTINGS */

.rc-profile-settings {
max-width:420px;
margin:40px auto;
padding:30px;
background:#fff;
border-radius:16px;
box-shadow:0 8px 25px rgba(0,0,0,0.08);
}

.rc-profile-settings h3 {
margin-bottom:20px;
font-size:22px;
}

.rc-profile-settings input {
width:100%;
padding:10px;
border:1px solid #ddd;
border-radius:8px;
margin-top:5px;
}

.rc-profile-settings button {
background:#3b82f6;
color:#fff;
border:none;
padding:10px 18px;
border-radius:8px;
cursor:pointer;
}

.rc-profile-settings img {
border-radius:10px;
}

/* AVATAR */

.rc-profile-avatar-wrap{
position:relative;
width:80px;
}

.rc-avatar-upload{
position:absolute;
bottom:0;
right:0;
background:#000;
color:#fff;
border:none;
border-radius:50%;
width:28px;
height:28px;
font-size:14px;
cursor:pointer;
}

.rc-avatar-wrap{
position:relative;
width:120px;
}

#rc-avatar{
width:120px;
height:120px;
border-radius:50%;
object-fit:cover;
}

.rc-avatar-btn{
position:absolute;
bottom:0;
right:0;
background:#000;
color:#fff;
border:none;
border-radius:50%;
width:32px;
height:32px;
cursor:pointer;
}
/* 🔥 TA BORT ALL UNDERLINE I KORT */

.rc-shift-card,
.rc-shift-card * {
text-decoration: none !important;
}

/* Extra säkerhet för hover */
.rc-shift-card:hover,
.rc-shift-card:hover * {
text-decoration: none !important;
}
/* 🔥 FILTER DESIGN */

.rc-filter-wrap{
margin:30px 0 10px;
display:flex;
justify-content:center;
}

.rc-filter{
display:flex;
gap:10px;
background:#fff;
padding:12px;
border-radius:12px;
box-shadow:0 6px 18px rgba(0,0,0,0.08);
}

.rc-filter input,
.rc-filter select{
padding:10px 12px;
border:1px solid #ddd;
border-radius:8px;
font-size:14px;
min-width:160px;
}

.rc-filter input{
min-width:220px;
}

.rc-filter button{
background:#2563eb;
color:#fff;
border:none;
padding:10px 16px;
border-radius:8px;
font-weight:600;
cursor:pointer;
transition:0.2s;
}

.rc-filter button:hover{
background:#1d4ed8;
}

/* MOBILE */

@media(max-width:700px){

.rc-filter{
flex-direction:column;
width:100%;
}

.rc-filter input,
.rc-filter select,
.rc-filter button{
width:100%;
}

}