ihm_client/public/style/signature.css
2024-11-19 18:07:31 +01:00

1486 lines
25 KiB
CSS

/* Styles de base */
:root {
--primary-color: #3A506B;
/* Bleu métallique */
--secondary-color: #B0BEC5;
/* Gris acier */
--accent-color: #D68C45;
/* Cuivre */
}
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
display: flex;
height: 100vh;
background-color: #e9edf1;
flex-direction: column;
}
/* 4NK NAVBAR */
.brand-logo {
text-align: center;
font-size: 1.5em;
font-weight: bold;
}
.nav-wrapper {
position: fixed;
background: radial-gradient(circle, white, var(--primary-color));
display: flex;
justify-content: space-between;
align-items: center;
color: #37474F;
height: 9vh;
width: 100vw;
left: 0;
top: 0;
box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);
}
/* Icônes de la barre de navigation */
.nav-right-icons {
display: flex;
}
.notification-bell,
.burger-menu {
height: 20px;
width: 20px;
margin-right: 1rem;
cursor: pointer;
}
.notification-container {
position: relative;
/* Conserve la position pour le notification-board */
display: inline-flex;
align-items: center;
}
.notification-board {
position: absolute;
/* Position absolue pour le placer par rapport au container */
top: 40px;
right: 0;
background-color: white;
border: 1px solid #ccc;
padding: 10px;
width: 200px;
max-height: 300px;
overflow-y: auto;
/* Scroll si les notifications dépassent la taille */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
z-index: 10;
/* Définit la priorité d'affichage au-dessus des autres éléments */
display: none;
/* Par défaut, la notification est masquée */
}
.notification-item{
cursor: pointer;
}
.notification-badge {
position: absolute;
top: -18px;
right: 35px;
background-color: red;
color: white;
border-radius: 50%;
padding: 4px 8px;
font-size: 12px;
display: none;
/* S'affiche seulement lorsqu'il y a des notifications */
z-index: 10;
}
/* Par défaut, le menu est masqué */
#menu {
display: none;
/* Menu caché par défaut */
transition: display 0.3s ease-in-out;
}
.burger-menu {
cursor: pointer;
}
/* Icône burger */
#burger-icon {
cursor: pointer;
}
.menu-content {
display: none;
position: absolute;
top: 3.4rem;
right: 1rem;
background-color: white;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border-radius: 5px;
overflow: hidden;
}
.menu-content a {
display: block;
padding: 10px 20px;
text-decoration: none;
color: #333;
border-bottom: 1px solid #e0e0e0;
&:hover {
background-color: rgba(26, 28, 24, .08);
}
}
.menu-content a:last-child {
border-bottom: none;
}
/* Ajustement pour la barre de navigation fixe */
.container {
display: flex;
flex: 1;
height: calc(100% - 4vh);
margin-top: 4vh;
margin-left: -1%;
text-align: left;
}
/* Liste des groupes */
.group-list {
width: 25%;
background-color: #1f2c3d;
color: white;
padding: 20px;
box-sizing: border-box;
overflow-y: auto;
border-right: 2px solid #2c3e50;
flex-shrink: 0;
padding-right: 10px;
}
.group-list ul {
cursor: pointer;
list-style: none;
padding: 0;
padding-right: 10px;
margin-left: 20px;
}
.group-list li {
margin-bottom: 10px;
padding: 15px;
border-radius: 8px;
background-color: #273646;
cursor: pointer;
transition: background-color 0.3s, box-shadow 0.3s;
}
.group-list li:hover {
background-color: #34495e;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/* Zone de chat */
.chat-area {
display: flex;
flex-direction: column;
flex: 1;
min-width: 0;
background-color: #ffffff;
border-radius: 10px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
margin: 10px;
margin-top: 20px;
margin-left: 0%;
}
/* En-tête du chat */
.chat-header {
background-color: #34495e;
color: white;
padding: 15px;
font-size: 20px;
font-weight: bold;
border-radius: 10px 10px 0 0;
text-align: center;
}
/* Messages */
.messages {
flex: 1;
padding: 20px;
overflow-y: auto;
background-color: #f1f1f1;
border-top: 1px solid #ddd;
}
.message-container {
max-width: 100%;
border-radius: 5px;
overflow-wrap: break-word;
word-wrap: break-word;
background-color: #f1f1f1;
display: flex;
flex-direction: column;
}
.message-container .message {
align-self: flex-start;
}
.message-container .message.user {
align-self: flex-end;
margin-left: auto;
color: white;
}
.message {
padding: 12px 18px;
background-color: #e1e1e1;
border-radius: 15px;
max-width: 70%;
font-size: 16px;
line-height: 1.4;
margin-bottom: 0%;
white-space: pre-wrap;
word-wrap: break-word;
position: relative;
display: inline-block;
}
/* Messages de l'utilisateur */
.message.user {
background-color: #3498db;
color: white;
align-self: flex-end;
text-align: right;
}
/* Amélioration de l'esthétique des messages */
/* .message.user:before {
content: '';
position: absolute;
top: 10px;
right: -10px;
border: 10px solid transparent;
border-left-color: #3498db;
} */
/* Zone de saisie */
.input-area {
padding: 10px;
background-color: #bdc3c7;
display: flex;
align-items: center;
/* Alignement vertical */
}
.input-area input[type="text"] {
flex: 1;
/* Prend l'espace restant */
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
.input-area .attachment-icon {
margin: 0 10px;
cursor: pointer;
display: flex;
align-items: center;
}
.input-area button {
padding: 10px;
margin-left: 10px;
background-color: #2980b9;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
.input-area button:hover {
background-color: #1f608d;
}
#message-input {
width: 100%;
height: 50px;
resize: none;
padding: 10px;
box-sizing: border-box;
overflow: auto;
max-width: 100%;
border-radius: 10px;
}
/* Responsive */
@media screen and (max-width: 768px) {
.group-list {
display: none;
/* Masquer la liste des groupes sur les petits écrans */
}
.chat-area {
margin: 0;
}
}
#process-details {
flex: 1;
background: white;
border-radius: 8px;
margin: 10px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
display: none;
overflow: hidden;
}
.process-details-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
background: #f8f9fa;
border-bottom: 1px solid #eee;
border-radius: 8px 8px 0 0;
}
.process-details-header h2 {
margin: 0;
color: #333;
}
.close-btn {
background: none;
border: none;
font-size: 24px;
cursor: pointer;
color: #666;
}
.close-btn:hover {
color: #333;
}
.process-details-content {
padding: 20px;
overflow-y: auto;
height: calc(100% - 70px);
}
.details-section {
margin-bottom: 30px;
}
.details-section h3 {
color: #444;
margin-bottom: 15px;
padding-bottom: 8px;
border-bottom: 2px solid #f0f0f0;
}
.documents-list {
list-style: none;
padding: 0;
}
.documents-list li {
padding: 8px 0;
border-bottom: 1px solid #eee;
}
.roles-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 20px;
}
.role-block {
background: #f8f9fa;
border-radius: 8px;
padding: 15px;
border: 1px solid #eee;
}
.role-block h4 {
color: #555;
margin: 0 0 10px 0;
padding-bottom: 8px;
border-bottom: 1px solid #eee;
}
.members-list {
list-style: none;
padding: 0;
}
.members-list li {
padding: 8px 12px;
margin: 4px 0;
cursor: pointer;
border-radius: 4px;
transition: background-color 0.2s;
}
.members-list li:hover {
background-color: #e9ecef;
}
.group-list-item {
padding: 8px 16px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.group-item-container {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
}
.process-name {
flex-grow: 1;
cursor: pointer;
}
.settings-icon {
cursor: pointer;
padding: 5px 8px;
margin-left: 10px;
border-radius: 4px;
}
.settings-icon:hover {
background-color: rgba(255, 255, 255, 0.1);
}
.process-details {
position: fixed;
top: 9vh;
right: 0;
bottom: 0;
left: 23.5%;
background-color: white;
box-sizing: border-box;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
border-radius: 8px;
margin: 10px;
z-index: 990;
}
.process-details-content {
height: calc(100% - 60px); /* Ajusté pour tenir compte du header */
overflow-y: auto;
padding: 20px;
}
.documents-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 20px;
margin-top: 15px;
}
.document-card {
background: white;
border-radius: 8px;
padding: 15px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
border: 1px solid #eee;
}
.document-card.public {
border-left: 4px solid #4CAF50;
}
.document-card.private {
border-left: 4px solid #FFC107;
}
.document-card.confidential {
border-left: 4px solid #F44336;
}
.document-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
padding-bottom: 10px;
border-bottom: 1px solid #eee;
}
.document-header h4 {
margin: 0;
color: #333;
}
.document-visibility {
padding: 4px 8px;
border-radius: 4px;
font-size: 12px;
font-weight: bold;
}
.public .document-visibility {
background-color: #E8F5E9;
color: #2E7D32;
}
.private .document-visibility {
background-color: #FFF3E0;
color: #F57C00;
}
.confidential .document-visibility {
background-color: #FFEBEE;
color: #C62828;
}
.document-info {
margin: 10px 0;
font-size: 14px;
color: #666;
}
.document-info p {
margin: 5px 0;
}
.signatures-list {
margin-top: 10px;
}
.signature-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px;
border-radius: 4px;
margin: 5px 0;
background-color: #f8f9fa;
}
.signature-item.signed {
background-color: #E8F5E9;
}
.signature-item.pending {
background-color: #FFF3E0;
}
.signer-name {
font-weight: 500;
}
.signature-status {
font-size: 12px;
}
.signed .signature-status {
color: #2E7D32;
}
.pending .signature-status {
color: #F57C00;
}
.user-selector {
position: relative;
margin-right: 20px;
}
#userSwitchBtn {
background: none;
border: none;
cursor: pointer;
padding: 8px 12px;
border-radius: 4px;
display: flex;
align-items: center;
color: var(--primary-color);
}
#userSwitchBtn:hover {
background-color: rgba(0, 0, 0, 0.05);
}
.current-user-info {
display: flex;
align-items: center;
gap: 8px;
}
.user-avatar {
background-color: var(--primary-color);
color: white;
width: 32px;
height: 32px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
}
.user-list {
position: absolute;
top: 100%;
right: 0;
background: white;
border-radius: 4px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
display: none;
z-index: 1000;
max-height: 400px;
overflow-y: auto;
width: 250px;
}
.user-list.show {
display: block;
}
.user-list-item {
padding: 8px 16px;
display: flex;
align-items: center;
gap: 8px;
cursor: pointer;
}
.user-list-item:hover {
background-color: rgba(0, 0, 0, 0.05);
}
.user-list-item .user-avatar {
width: 24px;
height: 24px;
font-size: 12px;
}
.user-list-item .user-email {
font-size: 12px;
color: #666;
display: block;
}
.document-card {
margin-bottom: 20px;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
.progress-bar {
background-color: #f3f3f3;
border-radius: 5px;
height: 10px;
width: 100%;
margin-top: 5px;
}
.progress {
background-color: #4caf50; /* Couleur de la barre de progression */
height: 100%;
border-radius: 5px;
}
.new-request-btn {
background-color: #4caf50;
color: white;
border: none;
border-radius: 5px;
padding: 10px 15px;
cursor: pointer;
margin-left: 10px;
}
.new-request-btn:hover {
background-color: #45a049;
}
.header-buttons {
display: flex;
align-items: center;
gap: 10px;
}
.close-btn {
background: none;
border: none;
font-size: 24px;
cursor: pointer;
color: #666;
}
.close-btn:hover {
color: #333;
}
.new-request-view {
padding: 20px;
background-color: white;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
margin: 20px;
}
.upload-area {
border: 2px dashed #ccc;
padding: 20px;
text-align: center;
margin: 20px 0;
}
.upload-icon {
font-size: 50px;
margin: 10px 0;
}
/* New Request View */
.new-request-view {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: white;
z-index: 1000; /* Valeur élevée pour s'assurer qu'il est au-dessus des autres éléments */
padding: 20px;
box-sizing: border-box;
overflow-y: auto;
}
.upload-area {
border: 2px dashed #ccc;
padding: 40px;
text-align: center;
margin: 20px auto;
max-width: 600px;
background-color: #f9f9f9;
border-radius: 8px;
cursor: pointer;
}
.upload-icon {
font-size: 50px;
margin: 20px 0;
}
.new-request-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 60px;
padding: 0 20px;
}
.upload-area {
border: 2px dashed #ccc;
padding: 40px;
text-align: center;
margin: 20px auto;
max-width: 600px;
background-color: #f9f9f9;
border-radius: 8px;
cursor: pointer;
}
.details-header {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #f8f9fa;
padding: 5px 20px;
border-radius: 8px 8px 0 0;
}
.header-buttons {
display: flex;
align-items: center;
gap: 10px;
flex-direction: row;
}
.close-btn {
background: none;
border: none;
font-size: 24px;
cursor: pointer;
color: #666;
padding: 5px;
}
.close-btn:hover {
color: #333;
}
.new-request-btn {
background-color: #4caf50;
color: white;
border: none;
border-radius: 5px;
padding: 8px 16px;
cursor: pointer;
/* margin-left: 10px; <- Supprimez cette ligne si elle existe */
}
.new-request-btn:hover {
background-color: #45a049;
}
/* Ajoutez ces styles à votre fichier CSS existant */
.document-card.vierge {
background-color: #fff3cd;
border: 2px solid #ffeeba;
}
.document-card.vierge .document-header {
background-color: #fff3cd;
}
.document-card.vierge h4 {
color: #856404;
}
.document-card.vierge .document-info {
color: #856404;
}
/* Style pour l'emoji d'avertissement */
.document-card.vierge h4::before {
margin-right: 8px;
}
.vierge-documents-container {
padding: 20px;
overflow-y: auto;
max-height: calc(100vh - 150px);
}
.document-form {
padding: 15px;
background-color: #fff;
border-radius: 0 0 5px 5px;
display: flex;
gap: 20px;
}
.form-left {
flex: 1;
display: flex;
flex-direction: column;
gap: 15px;
}
.form-right {
display: flex;
flex-direction: column;
align-items: flex-end; /* Aligner le bouton à droite */
}
.form-group {
flex: 2;
display: flex;
flex-direction: column;
margin-bottom: 15px;
}
.form-group-members {
flex: 2;
display: flex;
flex-direction: column;
margin-bottom: 15px;
font-weight: bold;
}
.submit-btn {
background-color: #4caf50;
color: white;
border: none;
border-radius: 5px;
padding: 10px 15px;
cursor: pointer;
margin-left: 47%;
margin-top: 20px;
}
.submit-btn:hover {
background-color: #45a049;
}
.upload-format {
font-size: 12px;
color: #666;
margin: 5px 0;
}
.browse-btn {
background-color: #4caf50;
color: white;
border: none;
padding: 8px 16px;
border-radius: 4px;
cursor: pointer;
margin-top: 10px;
}
.browse-btn:hover {
background-color: #45a049;
}
.document-selector {
padding: 20px;
margin-bottom: 20px;
}
.document-selector label {
display: block;
margin-bottom: 10px;
font-weight: bold;
color: #666;
}
.document-selector select {
width: 100%;
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 16px;
background-color: white;
}
#selected-document-form {
padding: 0 20px;
overflow: auto;
height: 65%;
}
/* Style pour l'option avec l'emoji */
.document-selector select option {
padding: 10px;
font-size: 14px;
}
.members-selection {
max-height: 200px;
overflow-y: auto;
border: 1px solid #ddd;
border-radius: 4px;
padding: 10px;
background-color: white;
}
.member-checkbox {
display: flex;
align-items: center;
margin-bottom: 8px;
padding: 5px;
}
.member-checkbox:hover {
background-color: #f5f5f5;
}
.member-checkbox input[type="checkbox"] {
margin-right: 10px;
}
.member-checkbox label {
cursor: pointer;
flex: 1;
}
/* Style pour le conteneur des membres */
.members-selection-container {
display: flex;
flex-direction: column;
align-items: center; /* Centrer la liste des membres */
width: 100%;
}
#members-list {
width: 60%;
height: 100%;
margin-bottom: -40px;
margin-top: 10px;
}
/* Style pour le label des membres */
.members-selection-container label {
font-weight: bold; /* Mettre le texte en gras */
margin-bottom: 10px; /* Espacement en bas */
display: block; /* Affichage en bloc */
}
/* Style pour les cases à cocher des membres */
.member-checkbox {
display: flex;
align-items: center;
margin-bottom: 8px;
padding: 5px;
border-radius: 4px; /* Coins arrondis */
transition: background-color 0.2s; /* Transition pour l'effet de survol */
}
.member-checkbox:hover {
background-color: #e9ecef; /* Couleur de fond au survol */
}
/* Style pour les labels */
.form-group label {
font-weight: bold;
margin-bottom: 5px;
}
/* Style pour les champs de saisie */
.form-group input,
.form-group select {
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 16px;
width: 80%;
}
.add-members-btn {
background-color: #4caf50;
color: white;
border: none;
border-radius: 5px;
padding: 10px 15px;
cursor: pointer;
margin-top: 10px; /* Espacement au-dessus du bouton */
}
.add-members-btn:hover {
background-color: #45a049;
}
/* Styles pour l'overlay et la modale */
.modal-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.5);
z-index: 999;
}
.modal {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
z-index: 1000;
width: 25%;
max-width: 500px;
}
.modal-content {
max-height: 70vh;
overflow-y: auto;
}
.modal-footer {
display: flex;
justify-content: flex-end;
gap: 10px;
margin-top: 20px;
padding-top: 10px;
border-top: 1px solid #eee;
}
.confirm-btn {
background-color: #4caf50;
color: white;
border: none;
padding: 8px 16px;
border-radius: 4px;
cursor: pointer;
}
.confirm-btn:hover {
background-color: #45a049;
}
.selected-member {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #f5f5f5;
padding: 8px 12px;
margin: 4px 0;
border-radius: 4px;
}
.cancel-btn {
background-color: #df2020;
color: white;
border: none;
padding: 8px 16px;
border-radius: 4px;
cursor: pointer;
}
.cancel-btn:hover {
background-color: #c62828; /
}
.remove-member-btn {
background-color: #dc3545;
color: white;
border: none;
border-radius: 50%;
width: 24px;
height: 24px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
font-size: 16px;
padding: 0;
margin-left: 8px;
}
.remove-member-btn:hover {
background-color: #c82333;
}
#description {
height: 100px;
width: 100%;
border-radius: 20px;
padding: 10px 0;
resize: none;
}
.role-item-container {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
padding: 5px 0;
}
.role-item-container span:last-child {
margin-left: 10px;
}
.document-card .new-request-btn {
margin-top: 60%;
margin-left: 65%;
padding: 6px 12px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 0.9em;
}
.document-card .new-request-btn:hover {
background-color: #45a049;
}
/* Styles pour la modale de nouveau document */
.modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
}
.modal-content-document {
background: white;
padding: 20px;
border-radius: 8px;
width: 90%;
max-width: 600px;
max-height: 90vh;
overflow-y: auto;
}
.modal-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
padding-bottom: 10px;
border-bottom: 1px solid #eee;
}
.modal-header h2 {
margin: 0;
color: #333;
}
.modal-body {
margin-bottom: 20px;
}
.modal-footer {
display: flex;
justify-content: flex-end;
gap: 10px;
padding-top: 20px;
border-top: 1px solid #eee;
}
.modal-document {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
}
.form-group {
margin-bottom: 15px;
}
.form-group label {
display: block;
margin-bottom: 5px;
font-weight: bold;
color: #555;
}
.form-control {
width: 100%;
padding: 8px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 14px;
}
.form-row {
display: flex;
gap: 15px;
margin-bottom: 15px;
}
.form-group.half {
flex: 1;
margin-bottom: 0; /* Annule la marge du form-group standard */
}
.selected-signatories {
margin: 10px 0;
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
min-height: 50px;
}
.signatory-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 5px;
margin: 5px 0;
background: #f5f5f5;
border-radius: 4px;
}
.remove-btn {
background: none;
border: none;
color: #dc3545;
cursor: pointer;
font-size: 18px;
padding: 0 5px;
}
.remove-btn:hover {
color: #bd2130;
}
.btn-primary {
background: #4CAF50;
color: white;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
}
.btn-primary:hover {
background: #45a049;
}
.btn-secondary {
background: #6c757d;
color: white;
padding: 8px 15px;
border: none;
border-radius: 4px;
cursor: pointer;
}
.btn-secondary:hover {
background: #5a6268;
}
.signatories-list {
max-height: 300px;
overflow-y: auto;
}
.signatory-option {
display: flex;
align-items: center;
gap: 10px;
padding: 8px;
border-bottom: 1px solid #eee;
}
.role-select {
padding: 4px;
border: 1px solid #ddd;
border-radius: 4px;
margin-left: auto;
}
.role-section {
margin-bottom: 20px;
padding: 10px;
background: #f8f9fa;
border-radius: 4px;
}
.role-section h4 {
margin: 0 0 10px 0;
color: #495057;
}
.members-selection {
max-height: 300px;
overflow-y: auto;
padding: 10px;
border: 1px solid #dee2e6;
border-radius: 4px;
}
input[type="file"] {
padding: 10px;
border: 1px dashed #ccc;
border-radius: 4px;
width: 100%;
margin-top: 5px;
}
.file-upload-container {
border: 2px dashed #ccc;
padding: 20px;
text-align: center;
margin: 10px 0;
border-radius: 5px;
cursor: pointer;
}
.file-upload-container:hover {
background-color: #f5f5f5;
border-color: #666;
}
.file-upload-container.dragover {
background-color: #f0f0f0;
border-color: #4CAF50;
}
.file-list {
margin-top: 10px;
}
.file-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px;
margin: 5px 0;
background: #f5f5f5;
border-radius: 4px;
}
.file-info {
display: flex;
gap: 10px;
align-items: center;
}
.remove-file {
background: none;
border: none;
color: #ff4444;
cursor: pointer;
font-size: 18px;
}
#fileInput {
display: none;
}
.required-signatories {
margin: 10px 0;
}
.signatory-item {
display: flex;
align-items: center;
gap: 10px;
padding: 8px;
margin: 5px 0;
background: #f5f5f5;
border-radius: 4px;
}
.signatory-item.locked {
background: #e8e8e8;
cursor: not-allowed;
}
.member-name {
font-weight: 500;
}
.role-info {
color: #666;
font-size: 0.9em;
}
.lock-icon {
margin-left: auto;
opacity: 0.6;
}