/* Frontend application form */
.rim-form {
    max-width: 640px; margin: 30px auto; background: #fff; padding: 32px 36px; border-radius: 14px;
    box-shadow: 0 8px 30px rgba(23,40,193,.08); border: 1px solid #eaeaff; font-family: 'Roboto', -apple-system, sans-serif;
}
.rim-form p { margin-bottom: 18px; }
.rim-form label { display: block; font-weight: 700; margin-bottom: 6px; color: #1f2940; font-size: 14px; }
.rim-form input[type=text], .rim-form input[type=email], .rim-form input[type=date],
.rim-form select, .rim-form textarea {
    width: 100%; padding: 12px 14px; border: 1px solid #d6dbf5; border-radius: 8px; font-size: 14px;
    box-sizing: border-box; transition: border-color .15s ease, box-shadow .15s ease; background: #fafbff;
}
.rim-form input:focus, .rim-form select:focus, .rim-form textarea:focus {
    outline: none; border-color: #1728c1; box-shadow: 0 0 0 3px rgba(23,40,193,.12); background: #fff;
}
.rim-form input[type=file] {
    width: 100%; padding: 12px; border: 2px dashed #d6dbf5; border-radius: 8px; background: #fafbff; box-sizing: border-box;
}
.rim-submit-btn {
    background: #1728c1 linear-gradient(180deg,#3a48ca,#1728c1) repeat-x; color: #fff; padding: 12px 32px;
    border: none; border-radius: 28px; cursor: pointer; font-size: 15px; font-weight: 700;
    box-shadow: rgba(50,50,93,.25) 0 2px 5px -1px, rgba(0,0,0,.3) 0 1px 3px -1px; width: 100%;
}
.rim-submit-btn:hover { background: #142399; }
.rim-msg { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-weight: 600; }
.rim-success { background: #e6f4ea; color: #1e7e34; }
.rim-error { background: #fbe7e7; color: #b32d2e; }

/* Public "Our Reporters" grid */
.rim-public-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin: 20px 0;
}
.rim-public-card { border: 1px solid #ddd; border-radius: 8px; overflow: hidden; background: #fff; text-align: center; }
.rim-public-card img { width: 100%; display: block; }
.rim-public-card-body { padding: 10px; font-size: 14px; line-height: 1.5; }

/* Verification page */
.rim-verify-box { max-width: 420px; margin: 30px auto; padding: 24px; border-radius: 10px; text-align: center; }
.rim-verify-ok { background: #e6f4ea; border: 2px solid #1e7e34; color: #1e7e34; }
.rim-verify-invalid { background: #fbe7e7; border: 2px solid #b32d2e; color: #b32d2e; }
.rim-verify-na { background: #f1f1f1; border: 2px solid #999; color: #555; }

/* Admin dashboard */
.rim-quicklinks { background: #fff; border: 1px solid #ddd; padding: 14px 18px; margin: 16px 0; border-radius: 6px; }
.rim-quicklinks span { color: #777; font-size: 12px; margin-left: 8px; }
.rim-stats { display: flex; gap: 16px; margin: 20px 0; }
.rim-stat-box { flex: 1; background: #fff; border: 1px solid #ddd; border-radius: 8px; text-align: center; padding: 18px 10px; }
.rim-stat-box h2 { font-size: 32px; margin: 0; }
.rim-pending h2 { color: #b8860b; }
.rim-approved h2 { color: #1e7e34; }
.rim-rejected h2 { color: #b32d2e; }
.rim-expired h2 { color: #555; }

/* Admin "Our Reporters" grid */
.rim-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin-top: 16px; }
.rim-admin-card { display: block; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; background: #fff; text-decoration: none; color: inherit; }
.rim-admin-card img { width: 100%; height: 160px; object-fit: cover; display: block; }
.rim-admin-card-body { padding: 10px; font-size: 13px; line-height: 1.5; }
.rim-admin-card-body strong { display: block; font-size: 15px; }

/* ===================== Admin Redesign (epaper-theme inspired) ===================== */
.rim-wrap { font-family: 'Roboto', -apple-system, sans-serif; }
.rim-wrap h1 { display: flex; align-items: center; gap: 12px; font-weight: 600; }

.rim-quicklinks {
    background: #fff; border: 1px solid #eaeaff; padding: 16px 20px; margin: 18px 0;
    border-radius: 8px;
    box-shadow: 0 3.2px 7.2px 0 rgba(131,126,255,.12), 0 .6px 1.8px 0 rgba(131,126,255,.1);
}
.rim-quicklinks p { margin: 6px 0; }
.rim-quicklinks span { color: #8a8f98; font-size: 12px; margin-left: 8px; }
.rim-quicklinks a { color: #1728c1; font-weight: 500; }

.rim-stats { display: flex; gap: 18px; margin: 22px 0; flex-wrap: wrap; }
.rim-stat-box {
    flex: 1; min-width: 160px; background: #fff; border-radius: 8px; text-align: center;
    padding: 24px 10px; text-decoration: none; color: inherit; display: block;
    border: 1px solid #eaeaff; border-top: 4px solid transparent;
    box-shadow: 0 3.2px 7.2px 0 rgba(131,126,255,.12), 0 .6px 1.8px 0 rgba(131,126,255,.1);
    transition: transform .15s ease, box-shadow .15s ease;
}
.rim-stat-box:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(23,40,193,.15); }
.rim-stat-icon { font-size: 30px; margin-bottom: 6px; }
.rim-stat-box h2 { font-size: 36px; margin: 4px 0; color: #1f2940; font-weight: 700; }
.rim-stat-box p { margin: 0; font-weight: 700; color: #5b6e88; text-transform: uppercase; font-size: 12px; letter-spacing: .5px; }

.rim-stat-pending  { border-top-color: #f7b500; }
.rim-stat-approved { border-top-color: #1bc943; }
.rim-stat-rejected { border-top-color: #dc3545; }
.rim-stat-expired  { border-top-color: #5b6e88; }

.rim-dash-actions { margin-top: 10px; }
.rim-dash-actions .button {
    border-radius: 28px !important; padding: 6px 20px !important; font-weight: 600 !important; border: none !important;
}
.rim-dash-actions .button-primary {
    background: #1728c1 linear-gradient(180deg,#3a48ca,#1728c1) repeat-x !important;
    box-shadow: rgba(50,50,93,.25) 0 2px 5px -1px, rgba(0,0,0,.3) 0 1px 3px -1px !important;
}
.rim-dash-actions .button:not(.button-primary) {
    background: #fff !important; color: #1728c1 !important; border: 1px solid #d6dbf5 !important;
}

/* Filter bar */
.rim-filter-bar { display: flex; gap: 10px; margin: 16px 0 22px; flex-wrap: wrap; }
.rim-filter-btn {
    padding: 8px 20px; border-radius: 28px; background: #fff; border: 1px solid #e0e6f5;
    color: #5b6e88; text-decoration: none; font-size: 13px; font-weight: 600; transition: all .15s ease;
}
.rim-filter-btn:hover { background: #f3f5ff; }
.rim-filter-btn.active {
    background: #1728c1 linear-gradient(180deg,#3a48ca,#1728c1) repeat-x; color: #fff; border-color: #1728c1;
    box-shadow: rgba(50,50,93,.25) 0 2px 5px -1px;
}
.rim-fb-pending.active  { background: #f7b500; border-color: #f7b500; }
.rim-fb-approved.active { background: #1bc943; border-color: #1bc943; }
.rim-fb-rejected.active { background: #dc3545; border-color: #dc3545; }
.rim-fb-expired.active  { background: #5b6e88; border-color: #5b6e88; }

.rim-filter-tag {
    font-size: 13px; background: #f3f5ff; padding: 4px 14px; border-radius: 28px; color: #1728c1; font-weight: 600;
}
.rim-filter-tag a { color: #dc3545; text-decoration: none; margin-left: 6px; font-weight: 700; }

/* No data state */
.rim-no-data {
    background: #fff; border: 1px dashed #d6dbf5; border-radius: 8px; text-align: center;
    padding: 60px 20px; color: #8a8f98;
}
.rim-no-data-icon { font-size: 42px; margin-bottom: 10px; }
.rim-no-data p { font-size: 15px; margin: 0; font-weight: 600; }

/* Table card */
.rim-table-card {
    background: #fff; border-radius: 8px; border: 1px solid #eaeaff; overflow: hidden;
    box-shadow: 0 3.2px 7.2px 0 rgba(131,126,255,.12), 0 .6px 1.8px 0 rgba(131,126,255,.1);
}
.rim-table { width: 100%; border-collapse: collapse; }
.rim-table thead th {
    background: #f3f5ff; text-align: left; padding: 12px 16px; font-size: 12px; text-transform: uppercase;
    letter-spacing: .4px; color: #5b6e88; border-bottom: 1px solid #eaeaff; font-weight: 700;
}
.rim-table tbody td { padding: 12px 16px; border-bottom: 1px solid #f3f5ff; vertical-align: middle; font-size: 14px; }
.rim-table tbody tr:last-child td { border-bottom: none; }
.rim-table tbody tr:hover { background: #fafbff; }

.rim-thumb { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid #eaeaff; display: block; }
.rim-thumb-placeholder {
    width: 42px; height: 42px; border-radius: 50%; background: #f3f5ff; display: flex; align-items: center;
    justify-content: center; font-size: 18px; border: 2px solid #eaeaff;
}

/* Pill badges - inspired by .user-op-green / .user-op-red */
.rim-badge {
    display: inline-block; padding: 4px 14px; border-radius: 28px; font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .3px;
}
.rim-badge-pending  { background: #fff3d6; color: #946200; }
.rim-badge-approved { background: #d7ffd7; color: #1a7d1a; }
.rim-badge-rejected { background: #ffdee1; color: #dc3545; }
.rim-badge-expired  { background: #e9ebf5; color: #5b6e88; }

.rim-actions { white-space: nowrap; }
.rim-actions .button { border-radius: 20px !important; }
.rim-btn-danger { color: #dc3545 !important; border-color: #f8c9cd !important; }

/* ===================== Dashicons, Search, Back-link, View page (v3) ===================== */
.rim-stat-icon.dashicons { font-size: 30px; width: 30px; height: 30px; display: inline-block; margin-bottom: 6px; }
.rim-stat-pending  .rim-stat-icon { color: #f7b500; }
.rim-stat-approved .rim-stat-icon { color: #1bc943; }
.rim-stat-rejected .rim-stat-icon { color: #dc3545; }
.rim-stat-expired  .rim-stat-icon { color: #5b6e88; }

.rim-quicklinks .dashicons { color: #1728c1; vertical-align: middle; margin-right: 4px; }
.rim-shortcode-note { color: #8a8f98; font-size: 12px; margin-left: 8px; }

.rim-back-link { margin-bottom: 4px; }
.rim-back-link a {
    display: inline-flex; align-items: center; gap: 4px; text-decoration: none; color: #1728c1;
    font-weight: 600; font-size: 13px;
}
.rim-back-link .dashicons { font-size: 16px; width: 16px; height: 16px; }

.rim-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin: 16px 0 22px; }
.rim-toolbar .rim-filter-bar { margin: 0; }

.rim-search-form {
    display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #e0e6f5;
    border-radius: 28px; padding: 6px 16px; min-width: 260px;
}
.rim-search-form .dashicons { color: #8a8f98; font-size: 16px; }
.rim-search-form input[type="text"] { border: none; outline: none; box-shadow: none; flex: 1; font-size: 13px; }
.rim-search-clear { color: #dc3545; text-decoration: none; font-weight: 700; font-size: 16px; }

.rim-no-data-icon.dashicons { font-size: 42px; width: 42px; height: 42px; color: #c3c9e0; margin-bottom: 10px; display: inline-block; }

/* Profile header (View page) */
.rim-profile-header { display: flex; align-items: center; gap: 18px; margin: 18px 0 24px; }
.rim-profile-photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid #eaeaff; }
.rim-profile-photo.rim-thumb-placeholder { display: flex; align-items: center; justify-content: center; font-size: 30px; color: #c3c9e0; }
.rim-profile-header h1 { margin: 0 0 6px; }

/* Detail cards grid (View page) */
.rim-detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-bottom: 20px; }
.rim-detail-card {
    background: #fff; border-radius: 8px; padding: 18px 20px; border-left: 5px solid;
    box-shadow: 0 3.2px 7.2px 0 rgba(131,126,255,.12), 0 .6px 1.8px 0 rgba(131,126,255,.1);
}
.rim-detail-card h3 {
    margin: 0 0 12px; font-size: 14px; text-transform: uppercase; letter-spacing: .4px;
    display: flex; align-items: center; gap: 6px;
}
.rim-detail-card p { margin: 6px 0; font-size: 14px; color: #1f2940; }
.rim-detail-card p strong { color: #5b6e88; font-weight: 600; margin-right: 4px; }
.rim-detail-card .button { margin-bottom: 6px; border-radius: 20px; }
.rim-detail-card .dashicons { font-size: 16px; vertical-align: middle; }
.rim-muted { color: #8a8f98; font-style: italic; }

.rim-card-blue   { border-left-color: #1728c1; }
.rim-card-blue h3 { color: #1728c1; }
.rim-card-purple { border-left-color: #8338ec; }
.rim-card-purple h3 { color: #8338ec; }
.rim-card-green  { border-left-color: #1bc943; }
.rim-card-green h3 { color: #1a7d1a; }
.rim-card-orange { border-left-color: #f7b500; }
.rim-card-orange h3 { color: #a87600; }

.rim-detail-actions { margin-top: 4px; }
.rim-detail-actions .button { border-radius: 28px !important; padding: 6px 22px !important; }

/* ===================== Single-card View page + Lightbox (v4) ===================== */
.rim-single-card {
    background: #fff; border-radius: 10px; padding: 4px 0;
    box-shadow: 0 3.2px 7.2px 0 rgba(131,126,255,.12), 0 .6px 1.8px 0 rgba(131,126,255,.1);
    margin-bottom: 20px; overflow: hidden;
}
.rim-section { padding: 20px 24px; border-left: 5px solid; border-bottom: 1px solid #f0f2fa; }
.rim-section:last-child { border-bottom: none; }
.rim-section h3 {
    margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .4px;
    display: flex; align-items: center; gap: 6px;
}
.rim-section-grid { display: grid; grid-template-columns: 1fr; gap: 6px; }
.rim-section p { margin: 4px 0; font-size: 14px; color: #1f2940; }
.rim-section p strong { color: #5b6e88; font-weight: 600; margin-right: 4px; }
.rim-section .dashicons { font-size: 16px; }

/* File thumbnails */
.rim-files-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.rim-file-thumb-wrap { text-align: center; }
.rim-file-thumb {
    width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 2px solid #eaeaff;
    cursor: zoom-in; display: block; transition: transform .15s ease;
}
.rim-file-thumb:hover { transform: scale(1.06); border-color: #1728c1; }
.rim-file-thumb-wrap span { display: block; font-size: 11px; color: #8a8f98; margin-top: 4px; }
.rim-pdf-btn { border-radius: 20px !important; }
.rim-pdf-btn .dashicons { font-size: 15px; vertical-align: middle; }

/* Lightbox */
.rim-lightbox {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15,17,30,.85); z-index: 999999; align-items: center; justify-content: center;
    cursor: zoom-out;
}
.rim-lightbox img { max-width: 90%; max-height: 90%; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.4); }

.rim-profile-photo.rim-lightbox-trigger { cursor: zoom-in; }

/* ===================== Filter counts + merged dashboard list (v5) ===================== */
.rim-count { font-size: 11px; opacity: .8; margin-left: 2px; }
.rim-list-heading { margin: 24px 0 4px; font-size: 18px; }

/* ===================== Manage Reporter page (v6) ===================== */
.rim-rid-tag {
    display: inline-block; background: #eef0ff; color: #1728c1; font-size: 13px; font-weight: 700;
    padding: 3px 12px; border-radius: 20px; vertical-align: middle; margin-left: 6px;
}

.rim-manage-card {
    background: #fff; border-radius: 10px; padding: 24px 26px; margin: 18px 0;
    box-shadow: 0 3.2px 7.2px 0 rgba(131,126,255,.12), 0 .6px 1.8px 0 rgba(131,126,255,.1);
}
.rim-manage-card h3 {
    margin: 0 0 16px; font-size: 15px; color: #1728c1; text-transform: uppercase; letter-spacing: .4px;
    display: flex; align-items: center; gap: 6px;
}

.rim-upload-box {
    display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
    border: 2px dashed #d6dbf5; border-radius: 10px; padding: 28px 20px; cursor: pointer;
    background: #fafbff; margin-bottom: 18px; transition: all .15s ease;
}
.rim-upload-box:hover { border-color: #1728c1; background: #f3f5ff; }
.rim-upload-box .dashicons { font-size: 30px; width: 30px; height: 30px; color: #1728c1; }
.rim-upload-box span:nth-child(2) { font-size: 13px; color: #5b6e88; font-weight: 600; }
.rim-upload-box em { color: #8a8f98; font-weight: 400; font-style: italic; }
.rim-upload-box input[type="file"] { margin-top: 6px; }

.rim-generate-btn {
    border-radius: 28px !important; padding: 10px 30px !important;
    background: #1728c1 linear-gradient(180deg,#3a48ca,#1728c1) repeat-x !important;
    box-shadow: rgba(50,50,93,.25) 0 2px 5px -1px, rgba(0,0,0,.3) 0 1px 3px -1px !important;
    display: inline-flex !important; align-items: center; gap: 6px;
}

.rim-preview-wrap { text-align: center; margin-bottom: 20px; }
.rim-preview-img {
    max-width: 100%; max-height: 420px; border-radius: 10px; cursor: zoom-in;
    box-shadow: 0 6px 20px rgba(23,40,193,.15); border: 1px solid #eaeaff;
    transition: transform .15s ease;
}
.rim-preview-img:hover { transform: scale(1.01); }

.rim-download-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.rim-dl-btn {
    border-radius: 24px !important; padding: 8px 20px !important; display: inline-flex !important;
    align-items: center; gap: 6px;
    background: #1728c1 linear-gradient(180deg,#3a48ca,#1728c1) repeat-x !important;
}

.rim-share-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid #f0f2fa; }
.rim-share-label { font-weight: 700; color: #5b6e88; font-size: 13px; }
.rim-share-btn {
    border-radius: 22px; padding: 9px 20px; font-weight: 600; font-size: 13px; text-decoration: none;
    border: none; cursor: pointer; color: #fff; display: inline-flex; align-items: center; gap: 8px;
    line-height: 1;
}
.rim-share-btn svg { flex-shrink: 0; }
.rim-share-btn .dashicons { font-size: 16px; width: 16px; height: 16px; color: #fff; }
.rim-share-whatsapp { background: #25d366; }
.rim-share-whatsapp:hover { background: #1ebe5b; color: #fff; }
.rim-share-email { background: #7a3bba; }
.rim-share-email:hover { background: #6624a9; color: #fff; }
.rim-share-copy { background: #5b6e88; }
.rim-share-copy:hover { background: #475569; }
.rim-share-copy.rim-copied { background: #1bc943; }

/* Reporters grid page (v6) */
.rim-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-top: 18px; }
.rim-admin-card {
    display: block; border-radius: 10px; overflow: hidden; background: #fff; text-decoration: none; color: inherit;
    box-shadow: 0 3.2px 7.2px 0 rgba(131,126,255,.12), 0 .6px 1.8px 0 rgba(131,126,255,.1);
    transition: transform .15s ease, box-shadow .15s ease; border: 1px solid #eaeaff;
}
.rim-admin-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(23,40,193,.18); }
.rim-admin-card img { width: 100%; height: 180px; object-fit: cover; display: block; background: #f3f5ff; }
.rim-admin-card-body { padding: 14px 16px; }
.rim-admin-card-body strong { display: block; font-size: 15px; margin-bottom: 4px; color: #1f2940; }
.rim-admin-card-body span { display: block; font-size: 12px; color: #5b6e88; line-height: 1.5; }
.rim-admin-card-body span:first-of-type { color: #1728c1; font-weight: 700; }

/* ===================== Icon sizing fix + Responsive (v7) ===================== */
.rim-dl-btn svg, .rim-share-btn svg { flex-shrink: 0; }
.rim-dl-btn { display: inline-flex !important; align-items: center; gap: 6px; }

@media (max-width: 1024px) {
    .rim-stats { flex-wrap: wrap; }
    .rim-stat-box { min-width: 45%; }
    .rim-toolbar { flex-direction: column; align-items: stretch; }
    .rim-search-form { width: 100%; }
}

@media (max-width: 768px) {
    .rim-wrap, .wrap.rim-wrap { padding-right: 10px; }
    .rim-quicklinks p { font-size: 13px; }
    .rim-stat-box { min-width: 100%; }
    .rim-filter-bar { width: 100%; }
    .rim-filter-btn { flex: 1 1 auto; text-align: center; }
    .rim-table-card { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .rim-table { min-width: 720px; }
    .rim-detail-grid { grid-template-columns: 1fr; }
    .rim-profile-header { flex-direction: column; text-align: center; }
    .rim-download-row, .rim-share-row { flex-direction: column; align-items: stretch; }
    .rim-dl-btn, .rim-share-btn { width: 100%; justify-content: center; }
    .rim-admin-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .rim-files-row { flex-direction: column; align-items: flex-start; }
    .rim-form { margin: 12px; padding: 20px; }
}

@media (max-width: 480px) {
    .rim-stats { gap: 10px; }
    .rim-back-link a { font-size: 12px; }
    .rim-profile-photo { width: 64px; height: 64px; }
    .rim-manage-card, .rim-single-card { padding: 16px; }
    .rim-section { padding: 16px; }
}

/* ===================== Renewal feature (v8) ===================== */
.rim-btn-renew {
    background: #f7b500 !important; color: #1f2940 !important; border: none !important;
    font-weight: 700 !important; border-radius: 20px !important;
}
.rim-btn-renew:hover { background: #e0a400 !important; color: #1f2940 !important; }

.rim-renew-card { border: 2px solid #f7b500; background: #fff9ec; }
.rim-renew-card h3 { color: #a87600; }
.rim-expired-note { font-size: 13px; color: #5b6e88; margin-bottom: 16px; }
.rim-renew-form { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.rim-renew-form label { font-weight: 700; font-size: 13px; color: #1f2940; display: block; margin-bottom: 6px; }
.rim-renew-form input[type="date"] {
    padding: 10px 14px; border: 1px solid #d6dbf5; border-radius: 8px; font-size: 14px; min-width: 200px;
}
.rim-renew-form .rim-generate-btn {
    background: #f7b500 linear-gradient(180deg,#ffcb3d,#f7b500) repeat-x !important;
    color: #1f2940 !important; box-shadow: rgba(247,181,0,.3) 0 2px 8px !important;
}

@media (max-width: 600px) {
    .rim-renew-form { flex-direction: column; align-items: stretch; }
    .rim-renew-form input[type="date"] { width: 100%; }
}