/* Contact CRM */
.ccrm-app{max-width:1500px;margin:32px auto;padding:0 18px;color:#202938;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.ccrm-app *{box-sizing:border-box}.ccrm-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.ccrm-header h1{font-size:30px;line-height:1.2;margin:4px 0;color:#182230}.ccrm-header p{margin:5px 0 0;color:#718096}.ccrm-eyebrow{font-size:10px;letter-spacing:1.4px;font-weight:800;color:#64748b}.ccrm-header-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.ccrm-user{color:#64748b;font-size:13px}.ccrm-logout{color:#64748b;text-decoration:none}.ccrm-btn{border:0;border-radius:8px;padding:10px 15px;font-weight:650;font-size:13px;cursor:pointer;line-height:1.3}.ccrm-primary{background:#2563eb;color:white}.ccrm-primary:hover{background:#1d4ed8;color:white}.ccrm-light{background:#f1f5f9;color:#334155}.ccrm-light:hover{background:#e2e8f0}.ccrm-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}.ccrm-stat{background:#fff;border:1px solid #e7ebf0;border-radius:12px;padding:17px 20px;box-shadow:0 2px 8px #0f172a08}.ccrm-stat span{display:block;color:#64748b;font-size:12px}.ccrm-stat strong{display:block;font-size:25px;margin-top:5px;color:#1e293b}.ccrm-stat .green{color:#159568}.ccrm-stat .orange{color:#d97706}.ccrm-panel{background:#fff;border:1px solid #e7ebf0;border-radius:12px;padding:18px;box-shadow:0 2px 8px #0f172a08}.ccrm-toolbar{display:flex;gap:12px;justify-content:space-between;margin-bottom:15px}.ccrm-search{display:flex;align-items:center;gap:9px;border:1px solid #dbe2ea;border-radius:8px;padding:0 12px;max-width:480px;width:100%;color:#94a3b8}.ccrm-search span{font-size:22px}.ccrm-search input{border:0!important;box-shadow:none!important;outline:0!important;width:100%;height:40px!important;padding:0!important;background:transparent!important}.ccrm-filters{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr 1fr auto;gap:10px;align-items:start;padding:14px;background:#f8fafc;border-radius:9px}.ccrm-filters label,.ccrm-form-grid label{font-size:11px;font-weight:700;color:#64748b;display:flex;flex-direction:column;gap:5px}.ccrm-filters input,.ccrm-filters select,.ccrm-form-grid input:not([type=checkbox]),.ccrm-form-grid textarea{width:100%;min-width:0;border:1px solid #dbe2ea!important;border-radius:7px!important;background:white!important;color:#263244!important;padding:9px 10px!important;font-size:13px!important;box-shadow:none!important;height:37px}.ccrm-filters input:focus,.ccrm-form-grid input:focus,.ccrm-form-grid textarea:focus{border-color:#60a5fa!important;outline:2px solid #dbeafe!important}.ccrm-reset{height:37px;white-space:nowrap}.ccrm-table-top{display:flex;justify-content:space-between;align-items:center;color:#64748b;font-size:12px;padding:15px 2px 10px}.ccrm-table-top label{display:flex;align-items:center;gap:7px}.ccrm-table-top select{border:1px solid #dbe2ea;border-radius:6px;padding:5px;background:#fff}.ccrm-table-scroll{overflow:auto}.ccrm-table{width:100%;border-collapse:collapse;min-width:1050px;font-size:12px}.ccrm-table th{background:#f8fafc;color:#64748b;text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:.4px;padding:12px 10px;white-space:nowrap;border-bottom:1px solid #e8edf2}.ccrm-table th button{border:0;background:none;color:inherit;font:inherit;text-transform:inherit;letter-spacing:inherit;padding:0;cursor:pointer}.ccrm-table td{padding:12px 10px;border-bottom:1px solid #edf1f5;vertical-align:middle;color:#334155;max-width:190px}.ccrm-table tbody tr:hover{background:#fbfdff}.ccrm-table a{color:#2563eb;text-decoration:none}.ccrm-table a:hover{text-decoration:underline}.ccrm-name{font-weight:700;color:#1e293b}.ccrm-detail{display:block;max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#64748b}.ccrm-status{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:11px;color:#64748b}.ccrm-status input{accent-color:#159568;width:15px;height:15px;cursor:pointer}.ccrm-status.is-yes{color:#12805c}.ccrm-actions{display:flex;gap:6px;white-space:nowrap}.ccrm-icon-btn{width:29px;height:29px;border:1px solid #e2e8f0;background:white;border-radius:6px;color:#475569;cursor:pointer}.ccrm-icon-btn:hover{background:#eff6ff;color:#2563eb}.ccrm-icon-btn.delete:hover{background:#fff1f2;color:#e11d48}.ccrm-empty{text-align:center!important;padding:35px!important;color:#94a3b8!important}.ccrm-pagination{display:flex;align-items:center;justify-content:center;gap:14px;padding-top:16px;color:#64748b;font-size:12px}.ccrm-modal{display:none;position:fixed;inset:0;z-index:999999;align-items:center;justify-content:center;padding:20px}.ccrm-modal.is-open{display:flex}.ccrm-modal-backdrop{position:absolute;inset:0;background:#0f172a99;backdrop-filter:blur(2px)}.ccrm-modal-card{position:relative;background:#fff;width:min(620px,100%);max-height:90vh;overflow:auto;border-radius:14px;padding:24px;box-shadow:0 20px 70px #0003}.ccrm-modal-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.ccrm-modal-head h2{font-size:22px;margin:4px 0;color:#1e293b}.ccrm-close{border:0;background:#f1f5f9;border-radius:50%;width:32px;height:32px;font-size:22px;cursor:pointer;color:#475569}.ccrm-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.ccrm-form-grid .ccrm-wide{grid-column:1/-1}.ccrm-form-grid label em{color:#e11d48;font-style:normal}.ccrm-form-grid input:not([type=checkbox]){height:41px}.ccrm-form-grid textarea{height:auto;min-height:95px;resize:vertical}.ccrm-form-grid .ccrm-check{display:flex;flex-direction:row;align-items:center;font-size:13px;color:#334155}.ccrm-form-grid .ccrm-check input{accent-color:#2563eb;width:16px;height:16px}.ccrm-form-footer{display:flex;justify-content:flex-end;align-items:center;gap:9px;margin-top:22px}.ccrm-form-footer #ccrm-form-message{margin-right:auto;color:#dc2626;font-size:12px}.ccrm-toast{position:fixed;right:22px;bottom:22px;background:#172033;color:#fff;padding:12px 18px;border-radius:8px;box-shadow:0 8px 25px #0002;z-index:1000000;opacity:0;transform:translateY(10px);transition:.2s;pointer-events:none}.ccrm-toast.show{opacity:1;transform:translateY(0)}.ccrm-login-wrap{max-width:460px;margin:55px auto;padding:15px}.ccrm-login-card{background:#fff;border:1px solid #e5eaf0;border-radius:14px;padding:30px;box-shadow:0 8px 30px #0f172a0d}.ccrm-brand{font-size:11px;letter-spacing:1.6px;font-weight:800;color:#2563eb}.ccrm-login-card h2{font-size:24px;margin:8px 0;color:#1e293b}.ccrm-login-card p{color:#64748b;font-size:13px}.ccrm-login-card label{font-size:12px;color:#475569}.ccrm-login-card input[type=text],.ccrm-login-card input[type=password]{width:100%;padding:10px;border:1px solid #dbe2ea;border-radius:7px;margin-top:5px}.ccrm-login-card .login-remember{display:flex;gap:7px;align-items:center}.ccrm-login-card input[type=submit]{background:#2563eb;color:white;border:0;border-radius:7px;padding:11px 18px;cursor:pointer}.ccrm-denied{max-width:700px;margin:40px auto;padding:20px;background:#fff7ed;border:1px solid #fed7aa;border-radius:8px;color:#9a3412}@media(max-width:900px){.ccrm-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.ccrm-app{padding:0 10px;margin:20px auto}.ccrm-header{align-items:flex-start;flex-direction:column}.ccrm-header-actions{width:100%}.ccrm-stats{gap:7px}.ccrm-stat{padding:12px}.ccrm-stat span{font-size:10px}.ccrm-stat strong{font-size:21px}.ccrm-panel{padding:10px}.ccrm-toolbar{flex-direction:column}.ccrm-search{max-width:none}.ccrm-filters{grid-template-columns:1fr 1fr}.ccrm-form-grid{grid-template-columns:1fr}.ccrm-form-grid .ccrm-wide{grid-column:auto}.ccrm-modal{padding:10px}.ccrm-modal-card{padding:18px}.ccrm-form-footer{flex-wrap:wrap}.ccrm-form-footer #ccrm-form-message{width:100%}}

/* Poravnanje svih filtera, ukljucujuci native date inpute. */
.ccrm-filters label{align-self:start;min-width:0;line-height:1.3;}
.ccrm-filters input[type=date]{height:37px!important;min-height:37px;padding-top:8px!important;padding-bottom:8px!important;display:block;}

/* Search field: normalize theme input sizing so it matches the compact toolbar. */
.ccrm-app .ccrm-toolbar .ccrm-search{height:42px!important;min-height:42px!important;max-height:42px!important;box-sizing:border-box!important;align-items:center!important;overflow:hidden}
.ccrm-app .ccrm-toolbar .ccrm-search input#ccrm-search{display:block!important;box-sizing:border-box!important;height:40px!important;min-height:40px!important;max-height:40px!important;line-height:40px!important;margin:0!important;padding:0!important;border:0!important;font-size:13px!important;}
